This project aims to build user authentication and authorization service, That required the following:
- service is responsible for authenticate and login users.
- service is responsible for validating whether logged user is permitted to do specific action or not.
- service is resbonsible for loggin users out from the system
The following necessary dependencies must be installed to run the application properly: nodejs and typescript
- Clone the repository
git clone https://github.com/bekeeeee/fatura-task-backend-Mohamed-Ragab
- Install dependencies
npm install
- Build and run the project
npm start
Navigate to http://localhost:5000
- API Document endpoints
http://localhost:5000/api/v1/user
http://localhost:5000/api/v1/post
The tests are written in Jest.
- Run tests files
npm run test
In the next version we implement forgot password, reset password and using nodemailer.
This project is license under the MIT license.