Phoenix Todos with React

Manage todos with Elixir/Phoenix and React.

How to run

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

Sign in

There are two previous created users:

Phoenix API

To run the tests, run this command inside the container:

mix tests 

The Phoenix API is using JWT with Guardian.

React frontend

The React frontend is using Vite.