- Clone the repo
- npm init -y.
- npm install.
- Create .env file with PORT=3030.
- npm test
- npm start
https://oebitw-basic-auth.herokuapp.com/api/v1/signup
- You can Sign-up by sending post request using postman.
Example of the data when you sign up :
{ "_id": "60aa89c218a5330015efaecf", "username": "ewies", "password": "$2b$10$e3nI5.Ob9yYzevra08Z5IONMrKKBONwqByouf6d3F4kzFpn5FTemi", "__v": 0 }
https://oebitw-basic-auth.herokuapp.com/api/v1/signin
- You can signin by sending post request using postman.
Example of the data when you sign in :
{ "_id": "60aa89c218a5330015efaecf", "username": "ewies", "password": "$2b$10$e3nI5.Ob9yYzevra08Z5IONMrKKBONwqByouf6d3F4kzFpn5FTemi", "__v": 0 }