An API made with typescript responsible for authenticating the user
# will build and run the containers
~ docker-compose up --build
This EndPoint is responsible for user authentication.
-
Email: Email from the registered user of the system
-
password: Password of the registered user of the system
{
"password": "example123456",
"email": "example@example.com"
}
If this response is successful you will receive token
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MiwiZW1haJwiOiJAbHVjYXMuY29tIiwiaWF0IjoxNjEyMTEwNTg2LCJleHAiOjE2MTIyODMzODZ9.8exL7fMcmShBrthpK15sc9mnU6pVoFOWTvbN6fmTZJg"
}
This EndPoint is responsible for registering a new user!
-
name: user name
-
password: user password
-
email: user email
a success message is returned if the response is successful
{success: "the user has been successfully registered!"}
- Typescript
- Express
- Docker
- JWT
- MongoDB