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

https://github.com/zahraarshia/book-flight-backend

BOOK-FLIGHT-BACKEND is a RESTful API that allows users to book a flight.
https://github.com/zahraarshia/book-flight-backend

api backend postgresql rails rest-api restful-api ruby

Last synced: 2 months ago
JSON representation

BOOK-FLIGHT-BACKEND is a RESTful API that allows users to book a flight.

Awesome Lists containing this project

README

          

## BOOK-FLIGHT-BACKEND
> BOOK-FLIGHT-BACKEND is a RESTful API that allows users to book a flight.

## API Manipulation and Endpoints

If you need further information about the endpoints you can view the documentation navigating to /api-docs.
If you would like to clone and view it on your side then try `http://localhost:3000/api-docs`.

## Demo
[Live Demo](https://intense-savannah-72561.herokuapp.com/)

## Built With

- Ruby
- Ruby on Rails
- PostgreSQL

## Frontend Repository Link
Book A Flight Frontend

## Kanban Board

### Current state

[Link to the Kanban Board](https://github.com/ZahraArshia/book-flight-backend/projects/1)

### Initial State

![image](https://user-images.githubusercontent.com/78906545/181631910-64f3f1b6-5836-4099-907f-a2f244ca581d.png)




- This final group capstone was completed by a team of 4 members

1. Zahra Arshia

2. Saied Gaffer

3. Emmanuel Jolugbo

4. Furkan Denizhan



## Getting Started

- [Install Ruby](https://www.ruby-lang.org/en/documentation/installation/) on your local machine
- [Install Ruby on Rails](https://guides.rubyonrails.org/v5.1/getting_started.html)
- Clone [this repository](https://github.com/ZahraArshia/book-flight-backend)
```
git clone git@github.com:ZahraArshia/book-flight-backend.git
```
- To get started, In the root directory run:
```
gem install bundler
```
Then run:
```
bundle install
```
To start the server run:

```
rails s
```
Open the browser with `localhost:3000`


## After installing bundle

Please run the following commands `rails db:create` `rails db:migrate` `rails s`

## Tests
```
bundle exec rspec
```
Or
```
rspec spec
```
### To track linter errors locally follow these steps:

Track linter errors run:
```
rubocop
```

## Authors

:woman: **Zahra Arshia**

- [GitHub](https://github.com/ZahraArshia)
- [LinkedIn](https://www.linkedin.com/in/zahra-arshia-89247210a/)

:man: **Saied Gaffer**
- [GitHub](https://github.com/saied2035)
- [LinkedIn](https://www.linkedin.com/in/saiedgaffer/)

:man: **Furkan Denizhan**
- [GitHub](https://github.com/nevisende)
- [LinkedIn](https://www.linkedin.com/in/furkan-denizhan/)

:man: **Emmanuel Jolugbo**
- [GitHub](https://github.com/Thermiee)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](https://github.com/ZahraArshia/book-flight-backend/issues).

## Show your support

Give a ⭐️ if you like this project!

## Acknowledgments

- Thanks to our reviewers and coding partners.

## 📝 License

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