Coder Social home page Coder Social logo

claudiarojassoto / final-capstone-back-end Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 1.0 3.09 MB

This Project is developed using Ruby on Rails, configured to serve as an API. This API is designed to facilitate reservations or appointments for test drives of cars. It leverages a PostgreSQL database to manage and store reservation data.

License: MIT License

Dockerfile 2.51% Ruby 96.87% HTML 0.34% Shell 0.27%
active-record bcript controllers gems models postgresql-database routes rspec-testing rubocop-configuration

final-capstone-back-end's Introduction

EED

Final Capstone Back End

๐Ÿ“— Table of Contents

๐Ÿ“– Final Capstone Back End

final_capstone_back_end The back-end component of this final capstone project is developed using Ruby on Rails, configured to serve as an API. This API is designed to facilitate reservations or appointments for test drives of cars. It leverages a PostgreSQL database to manage and store reservation data.

๐Ÿ›  ER Diagram

ER Diagram

๐Ÿ’ป Link to Demo

Link to Demo

(back to top)

๐Ÿ’ป Link to front end

Link to Front End

(back to top)

๐Ÿ’ป link to Kanban board information

Link to Kanban Board

Initial state

This project was completed by two of the three original Team members:

  • Claudia Rojas
  • Pablo Bonasera

(back to top)

๐Ÿ›  Built With

Tech Stack

Technologies
Linters
  • Rubocop

Key Features

  • Ruby on Rails
  • API Endpoint
  • Professional Documentation
  • Linting for Code Quality
  • Postgres Database
  • Git Version Control

(back to top)

๐Ÿ’ป Getting Started

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

Prerequisites

Before you begin, ensure you have the following prerequisites installed on your system:

  • Ruby: You need Ruby to run the Ruby on Rails application.
  • Bundler: Bundler is used to manage gem dependencies for your Ruby project.

Setup

In your terminal, navigate to the folder of your choice and clone the repository with the following commands:

cd my-folder
git clone https://github.com/ClaudiaRojasSoto/final_capstone_back_end.git

Install

After cloning the project, change into the project directory:

cd final_capstone_back_end

Install this project with:

  • gem install rails
  • bundle install

Database Setup

Create and migrate your database with:

rails db:create
rails db:migrate

Usage

To run the project, execute the following command:

rails server
or
rails s

This should start your local server on http://localhost:3000/. Now, you can use the REST API client of your choice to interact with the API.

(back to top)

๐Ÿ”ฌ Running Tests

To run tests, navigate to the directory where the project is located on your machine, open your terminal, and follow these steps:

Test Suite

This project contains a suite of unit tests which you can run to ensure everything is functioning as expected. To run these tests, you need RSpec installed.

To install RSpec if you haven't already, run:

gem install rspec

After you've installed RSpec, you can run the tests with:

rspec

(back to top)

๐Ÿ’ป API Documentation

(back to top)

๐Ÿ‘ฅ Authors

๐Ÿ‘ค Claudia Rojas

๐Ÿ‘ค Pablo Bonasera

(back to top)

๐Ÿ”ญ Future Features

  • Implement proper user authentication from the front-end to the server
  • Add authorizations to users

(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 please feel free to send me corrections for make it better I would feel glad to read your comments. And think If you enjoy gift me a star.

(back to top)

๐Ÿ™ Acknowledgments

  • Behance and Murat Korkmaz for the original design
  • Microverse for providing the opportunity to learn in a collaborative environment.
  • React.js Documentation for valuable resources on React development.
  • GitHub for version control and collaboration tools.

(back to top)

โ“ FAQ (OPTIONAL)

  • Can I use with a templeate your project?

    • Of course I would feel honored
  • Your project is free license?

    • Yeah, you can use it completely

(back to top)

๐Ÿ“ License

This project is licensed under the MIT License - you can click here to have more details MIT.

(back to top)

final-capstone-back-end's People

Contributors

alexmedinasf avatar claudiarojassoto avatar pablobona avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

pablobona

final-capstone-back-end's Issues

[1pt] Add Item

  • When the user clicks the "Add item" link in the navigation panel they can see a form for adding a new item.

[2pt] Reservations List

  • Design a page to list all the reservations of a user with the details of that reservation.

[2pt] Details Show Page

  • When the user selects a specific item, they can see the details page.
  • In the details page, the user can click the "Reserve" button (in the design you can see the "Configure" button - please replace it with the "Reserve" button).

[2pt] Navigation Panel

In the navigation panel, the user can see links to:

  • Motorcycles/doctors/classes/items that you selected as a theme.
  • "Reserve" form.
  • "My reservations".
  • "Add motorcycle/doctor/class/item that you selected as a theme" (the link is visible to everybody).
  • "Delete motorcycle/doctor/class/item that you selected as a theme" (the link is visible to everybody).

[2pt] Delete item

  • When the user clicks the "Delete item" link in the navigation panel they can see a list of all items with title and "Delete" button.
  • When the user clicks the "Delete" button, the selected item is marked as removed and does not show on the main list anymore.

[2pt] Reserve an appointment

  • To reserve an appointment, the user has to select a date and city (username and selected item are autofilled).
  • Use the design based on the "Book a vespa test-ride" and add all necessary inputs.
  • The user can also access the "Reserve" page from the navigation panel. In that case only username is autofilled.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.