This project is a backend application of a simple todo list. In order to work properly, the application needs a frontend app. Here you can find a repository with a React App ready to work as frontend.
- Ruby 3.2.0
- Rails 7.0.4
- Postgres
- Docker
- Docker-compose
- Clone repository:
git clone git@github.com:lionffl/pair-todo-backend.git
- Navigate to project folder:
cd pair-todo-backend
- Install the required dependencies:
bundle install
- Set up environment variables by renaming
config/envs.rb.example
toenvs.rb
- Run postgresql container:
docker-compose up -d
- Set up the database:
rails db:create
,rails db:migrate
- Start the server:
rails server
The server should now be running at http://localhost:3000.
You can import the file Pair-todo.postman_collection.json
on your Postman client and use as request reference.