Skip to content

martinnajjar12/calories-backend

Repository files navigation

Calories Backend - Rails API

Backend repository that servers API for the Calories App. You can find the frontend repo by visiting this link https://github.com/martinnajjar12/calories-frontend

screenshot

Database Diagram



Built With

  • Ruby 2.7.1
  • Rails 6.1.3
  • Devise Auth Token
  • Rack CORS
  • RSpec
  • ShouldaMatchers
  • Active Model Serializer

Live Demo

The app is published on https://caloriesapi.heroku.com/

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

  • Ruby 2.7.1
  • Rails 6.1.3
  • Code Editor

Setup

Clone this repo either by typing `git clone https://github.com/martinnajjar12/calories-backend` (You must have git installed on your local machine in this case) or download a zip version of the code from GitHub.

Install the gems with:

  bundle install

Usage

Type rails s to start the server on port 3000

Run tests

To test the application please run this command:

  rspec

Author: Martin Najjar

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Microverse
  • Lucidchart (for creating the database diagram)

📝 License

This project is MIT licensed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published