Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 714 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 714 Bytes

This is a REST API authentication solution created using Node.js, Express.js and MongoDB.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

This uses nodemon to reflect changes without restarting the server again and again during development.

To start the production server, type:

npm start
# or
yarn start

The api will run at port specified in environment variable or by default at port 5000.

User registration and login routes are available. This is a token based solution to authentication.

To get started, clone the repository and add environment variables in .env file.