An open API service indexing awesome lists of open source software.

https://github.com/progress2002/car-reservation-api


https://github.com/progress2002/car-reservation-api

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

### Table of Contents

- [📖 carBooker](#car-booker)
- [🛠 Built With](#built-with)
- [Tech Stack](#tech-stack)
- [Key Features](#key-features)
- [Kanban Board ](#-kanban-board-)
- [React Frontend ](#-react-frontend-)
- [💻 Getting Started](#getting-started)
- [Setup](#setup)
- [Prerequisites](#prerequisites)
- [Install](#install)
- [Usage](#usage)
- [Run tests](#run-tests)
- [Deployment](#deployment)
- [📝 API documentation](#api-documentation)
- [👥 Authors](#authors)
- [🔭 Future Features](#future-features)
- [🤝 Contributing](#contributing)
- [⭐️ Show your support](#support)
- [🙏 Acknowledgements](#acknowledgements)
- [📝 License](#license)

## 📖 CarBooker

Cabooker (Backend) is a RESTful API for a car booking application. It allows users to book a car for a specific date and time. It also allows users to add and delete cars. The API is built with Ruby on Rails and uses Postgres as the database. It is consumed by its front-end counterpart [car-booker front-end](https://github.com/yodit93/car-reservation-front-end.git).

## Built With

### Tech Stack

Backend


  • Ruby on Rails

Database


  • Postgresql

### ERD Diagram

[ERD Diagram](https://lucid.app/lucidchart/3885e52f-ffbe-4394-a17c-22c1cd5f931a/edit?viewport_l[…]C909%2C0_0&invitationId=inv_7ce0f69f-1908-44d7-9875-841ddbc89414)

### Key Features

Api end points for users to:
- Sign up
- Sign in
- Sign out
- Add appointment for a Cars
- Delete appointment for a Cars
- Create and Delete Cars

(back to top)

## Kanban Board

- This project was built with a team of four.
- Kanban Board Link [Kanban Board](https://github.com/users/yodit93/projects/7/views/1)
- Initial state of the Kanban board [Kanban Board Screenshot](https://user-images.githubusercontent.com/53250640/253284640-fe30f83b-f7e1-4e34-ba79-e3127288e6dc.png)

(back to top)

## React Frontend

- CarBooker frontend [CarBooker frontend](https://github.com/yodit93/car-reservation-front-end.git)

(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:
- Any web-browser.
- Latest version of Ruby on Rails

### Setup

Clone this [repo](https://github.com/Progress2002/car-reservation-api.git) to your desired folder.

```
git clone https://github.com/Progress2002/car-reservation-api.git
```

### Install

Run from a terminal

```
cd car-reservation-api
bundle install
```

### Database
**To connect the project to the database:-**
```
rails db:create
rails db:migrate
```

### Usage

**To run the project follow the following instruction:-**

```
rails s -p 3001
```

### Run tests (using rspec)

To run the models test

```
rspec ./spec/models
```

To run the API Doc and endpoint test

```
rails rswag:specs:swaggerize
```

### Deployment

You can deploy this project using: [render](https://render.com/).

(back to top)

## API Documentation

**Once connected to the database, you can check the full API Documentation in here (please, double check the port):**

```
http://127.0.0.1:3001/api-docs/index.html

```

## Authors

👤 **Progress**

- GitHub: [@Progress2002](https://github.com/Progress2002)
- Twitter: [@Progress_2002](https://twitter.com/Progress_2002)
- LinkedIn: [@Progress](https://www.linkedin.com/in/progress-ezeamaka-27b114247)

👤 **Mugisha.I**

- GitHub: [@githubhandle](https://github.com/Tafloninno)

- LinkedIn: [LinkedIn](https://www.linkedin.com/in/mugisha-innocent-19b700238/)

👤 **Yodit Abebe**

- GitHub: [yodit93](https://github.com/yodit93)
- Twitter: [@yodtwit](https://twitter.com/yodtwit)
- LinkedIn: [Yodit Abebe](https://www.linkedin.com/in/yodit-abebe-ayalew/)

👤 **AdeJuwon DanieL Adesanya**

- GitHub: [@githubhandle](https://github.com/Ade179)
- LinkedIn: [LinkedIn](https://www.linkedin.com/in/adejuwon-adesanya-237b54239/)

## Future Features

- **Add Admin role**
- **Edit moto description**

(back to top)

## Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](https://github.com/Progress2002/car-reservation-api/issues).

(back to top)

## Support

If you like this project give us a ⭐️.

(back to top)

## Acknowledgments

We would like to thank Microverse for this project and [Murat Korkmaz on Behance](https://www.behance.net/muratk) for the original design idea.

(back to top)

## License

This project is [MIT](./LICENSE) licensed.

(back to top)