Files
2018-08-10 11:49:19 +08:00

743 B

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

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.

Follow this or this for further details.