HFG43 / final_capstone_back_end

MIT License
11 stars 1 forks source link

Final Capstone Back-End

πŸ“— Table of Contents


About

"Final Capstone Back-End" is an API designed to host various gastronomic experiences, user records, and user reservations for different experiences. The allowed actions in this app are to create a new user, create, delete, and get reservations as well as get experiences. It was designed in Ruby on Rails and PostgreSQL.


πŸ›  Built With

Tech Stack

Backend
Linters

Key Features

(back to top)


ERD

On the following ERD you can see the structure of this project.

ERD

(back to top)


Front-End Project

The frontend project for this API can be found in the following link: Final Capstopne Front-End

(back to top)


πŸ’» Getting Started

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

Prerequisites

In order to run this project you need:

Setup

Clone this repository to your desired folder by using the command:

git clone https://github.com/HFG43/final_capstone_back_end

Install

Go to the project directory:

 cd final_capstone_back_end

Before to run the program, run the following command to install the necessary gems:

 bundle install

After installing the gems, run the following command to create and migrate the database:

 rails db:create
 rails db:migrate
 rails db:seed

Usage

Run the following command inside the project folder to start the application:

  rails s

Testing

On this app you can find different test of models and request in the spec directory, to run them follow any of the following commands:

  rspec
  bundle exec rspec

Those commands will start the application on your local server. You can now open your browser and go to http://localhost:3000/ to see the application running.

Remember that this is an API so, to read the documentation follow this link after started the server.

Run linters

To verify that the ruby code is written without errors and meets good practice standards, run the following command inside the project folder:

 rubocop

To fix the linter use any of the following options:

  rubocop --fix
  rubocop -a
  rubocop -A

(back to top)


πŸ‘₯ Authors

πŸ‘€ AndrΓ©s Zamorano

πŸ‘€ Andrea Manuel

πŸ‘€ Nitcelis Bravo

πŸ‘€ HernΓ‘n GΓΌemes

(back to top)


πŸ”­ Future Features

Upcoming improvements:

(back to top)


🀝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)


⭐️ Show your support

If you like this project and know someone who might find it helpful, please share it. Or give it a star ⭐️ if you like this project!

(back to top)


πŸ™ Acknowledgments

I thank Microverse for this fantastic opportunity, and the code reviewers for their advice and time.

(back to top)


πŸ“ License

This project is MIT licensed.

(back to top)