This microservice was created with the purpose of having a module, in Node js, for creating and maintaining the registration of a system. Below you will get information on what technology was used, how to run the application, among other information
The application runs on the door 3333
. If you need to change, change directly in the env
- Go to the root of the project and run the docker:
docker-compose up -d
- To start Adonis js you must run
adonis key:generate
adonis server --dev
- Migration run:
adonis migration:run
(POST)
/user => Create user
(POST)
/user/verifyEmail => Validates the email using the token
(POST)
/user/session => Creates the user session
Get the APP_KEY in the .env and pass the request header. Imagine i have this app key 1f9d0DA209fas
so I will declare as follows:
curl --request POST \
--url .../user \
--header 'app-key: 1f9d0DA209fas`' \
--data '{
...
}'
Ready requests will only work if the other micro service has the app_key.
- Email update
- Password update
- Forgot password