Manage todos with Elixir/Phoenix and React.
Make sure you don't have any other running containers exposing the following ports:
- 5454
- 4000
- 3000
Run docker compose
docker-compose up --build
It will setup the following containers:
- PostgreSQL - Port 5454 (to avoid conflict with 5432)
- Api with Phoenix - Port 4000
- React frontend - Port 3000
There are two previous created users:
- Email: user1@user.com | Senha: 123456
- Email: user2@user.com | Senha: 123456
To run the tests, run this command inside the container:
mix tests
The Phoenix API is using JWT with Guardian.
The React frontend is using Vite.