Repository for the evolux challenge backend
The DER of application can be found here
For use this project, you should have installed Docker and [Docker Compose]
For start the application, just run the follow command at the project root :
docker-compose up -d --build
The application will be running at http://localhost:8000
To execute tests, run this command:
docker-compose -f docker-compose/development.yml run hercules-web ./init_config.sh
You can test this routes with Postman, just import the environment
The application has these routes:
- Auth
- Login:
[POST] /user/login
- Login:
- User
- Register:
[POST] /user/
- Register:
- Currency
- Index:
[GET] /currency
- Store:
[POST] /currency
- Update:
[PUT] /currency/:id
- Show:
[PUT] /currency/:id
- Delete:
[DELETE] /currency/:id
- Index:
- Phones
- Index:
[GET] /phone
- Store:
[POST] /phone
- Update:
[PUT] /phone/:id
- Show:
[PUT] /phone/:id
- Delete:
[DELETE] /phone/:id
- Index: