Dietify - Calorie counting for weight management shouldn't be hard. Dietify helps you to keep track of your calorie intake. This is the api backend for the Dietify application. Click here to see the frontend project.
You can use this link to access the demo version of this app.
- Ruby 3.0.2
- Rails 6.1.4
- JWT Gem 1.5
- Postgresql
The relationship between models can be seen in the ERD diagram below.
- Ruby >=3.0.2
- Rails >=6.1.4
- Postgresql >10
In order to run this app on your local environment:
- Clone the project on your local machine with the following command.
git clone git@github.com:sinansevgi/dietify.git
- Navigate to the project directory
- Run the following command to install dependencies
bundle install
- You should create required databases and tables before running the application.
- Run the following command to create databases and tables
rails db:create
rails db:migrate
- If you want to load demo data to test the application, you can use the following command to seed a database with demo data
rails db:seed
- You can run the API server with the following command
rails s
👤 Sinan Sevgi
- GitHub: @sinansevgi
- LinkedIn: @sinansevgi
- Portfolio: Website
Contributions, issues, and feature requests are welcome!
Give a ⭐️ if you like this project!
This project is MIT licensed.