user auth module for a REST API built using nodejs Express, JWT MySQL
Make sure you have installed all of the following prerequisites on your development machine:
- Git - Download & Install Git. OSX and Linux machines typically have this already installed.
- NodeJS
- XAMP for mysql
- IDE ( I use VSCode )
- Postman - Download & Install Postman
- Clone the repo
git clone https://github.com/rayen-creator/UserAuth.git
- Install NPM packages
npm install
- Run server
nodemon server.js
3 endpoints available :
http://localhost:3000/api/auth/signup
http://localhost:3000/api/auth/login
http://localhost:3000/