mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-mockapi.git
synced 2026-08-19 04:24:09 +00:00
cc49c612af33f0078f1821b4990cc64f09a07f6e
JSON Server for IZYIM
Getting Started
We will be using JSON Server + JWT Auth for this project's login functionality. (Later further updates will be added.)
Prerequisites
- Node.js & NPM
- Postman
Login
Run the following command first.
$ npm install
$ npm run start-auth
On Postman, navigate to http://localhost:3000/auth/login and use x-www-form-urlencoded/JSON with 'phone' and 'password' fields.
User details can be found in users.json.
Follow this link or this link for further details.
Description
Languages
JavaScript
100%