Capstone Backend

This is the backend used for our capstone project.

It's based on this ERD

Built With

  • Ruby on Rails
  • Postgresql
  • Devise
  • Rspec
  • Swagger

Getting Started

To get a local copy, follow these simple steps.

Prerequisites

Web browser installed

Setup

Cloning a repository

  • On GitHub.com, navigate to the main page of the repository;

  • Above the list of files, click "Code" button;

  • Copy the URL to clone the repository.

    • To clone the repository using HTTPS : https://github.com/andgarzonmal/capstone-project-back-end.git

    • To clone the repository using an SSH key, including a certificate issued by your organization's SSH certificate authority : git@github.com:andgarzonmal/capstone-project-back-end.git

    • To clone a repository using GitHub CLI : gh repo clone andgarzonmal/capstone-project-back-end

  • Open Terminal;

  • Change the current working directory to the location where you want the cloned directory;

  • Type git clone, and then paste the URL you copied earlier;

  • Run bundle install;

  • To setup your database run:

rails db:create rails db:migrate

  • Delete config/credentials.yml and config/master.key

  • Run EDITOR="mate --wait" bin/rails credentials:edit

  • Run rails server;

  • Open http://localhost:3000/ on your browser.

Rspec Tests

To run the tests:

  • Open your terminal;

  • Go to the application

  • run rake rswag

  • run rspec

Live demo

Heroku app

Author

👤 Andres Garzon Maldonado

👤 Dafne Azzolina

👤 Dino Quispe

🤝 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!

📝 License

This project is MIT licensed.