An small application that consumes and shows jobs from the github api
-
Install Docker - See Instalation
-
Install Docker Compose - See instalation
-
Ruby (3.0.1)
-
Rails (6.1.3.1)
-
PostgreSQL (10.12)
1.1. Starting the project
-
docker-compose up --build
-
docker-compose exec backend rails db:create
-
docker-compose exec backend rails db:migrate
Make sure to run steps 1-4 on a separate terminal while you leave the command from step 1 running.
After the configuration is finished the project is already started, it can be restarted with docker-compose
docker-compose up
After the server is started the api and frontend can be seen at respectivelly
localhost:3001/
localhost:3000/
The requested endpoint is at /jobs