This project was not concluded and discontinued.
This is an API that validates users so they are able to login to a front end in another codebase made with a React.
Required:
- Ruby "3.2.1"
- Ruby on Rails "7.0.6"
- Postgresql "1.1"
To get the repository locally, execute the following command in the terminal.
git clone https://github.com/gutoarraes/rails-api
Install all gems:
gem install
Start the API server by running rails s
Debug with adding byebug
in a particular part of the code as a break point to be displayed in the terminal
The biggest challenge was editing the secrets.enc.yml
file. I wasn't able to find a work around in my Windows OS, so I eventually used a VM, installed MacOS and managed to edit the file.
This gave me the opportunity to manage rails
versions, configuraing environment variables, and following through on error messages, all on an operating system (OS) that I had very limited experience on.
- Database: PostgreSQL
- Hosting: Fly.io
- Backend: Ruby on Rails
Huge shoutout to my friend Franco Moraes who gave me the idea and the opportunity to start this project and piggyback off of his React application.