mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-mockapi.git
synced 2026-08-19 04:24:09 +00:00
feature/login
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 Software to test the API.
Installation
Run the following command first.
$ npm install
$ npm run start-auth
Usage
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.
Description
Languages
JavaScript
100%