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

https://github.com/altontonn/openflights

Open Flight is a review app built with react.js and ruby on rails with webpacker
https://github.com/altontonn/openflights

rails reactjs ruby styled-components

Last synced: 3 months ago
JSON representation

Open Flight is a review app built with react.js and ruby on rails with webpacker

Awesome Lists containing this project

README

          

# πŸ“— Table of Contents

- [πŸ“– About the Project](#about-project)
- [πŸ›  Built With](#built-with)
- [Tech Stack](#tech-stack)
- [Key Features](#key-features)
- [πŸš€ Live Demo](#live-demo)
- [πŸ’» Getting Started](#getting-started)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Install](#install)
- [Usage](#usage)
- [Run](#run)
- [πŸ‘₯ Authors](#authors)
- [πŸ”­ Future Features](#future-features)
- [🀝 Contributing](#contributing)
- [⭐️ Show your support](#support)
- [πŸ™ Acknowledgements](#acknowledgements)
- [πŸ“ License](#license)

# πŸ“– [Open-flight]

**[Open Flights]** is a review app to allow users to add comments and review stars on airline flights.

## πŸ›  Built With

### Tech Stack

React

Ruby on Rails

Database

Webpack

### Key Features

- **[Review Rating]**
- **A user can add flights company**
- **A user an rate the plane company on the form section**

(back to top)

## πŸš€ Live Demo

- [Coming soon]()

(back to top)

## πŸ’» Getting Started

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

### Prerequisites

1. Before you go ahead with this project, please make sure you have:
- Basic understanding of HTML and CSS.
- JavaScript fundamentals (object, array, conditionals etc).
- Familiarity with JavaScript ES6 features (arrow functions, object destructuring etc).
- Basic understanding of basic Ruby concepts.
- Ruby fundamentals (modules, blocks, etc).

2. Make sure you have Ruby installed in your system. You can install it [here](https://www.ruby-lang.org/en/documentation/installation/)

3. Get started with [Ruby on Rails](https://guides.rubyonrails.org/getting_started.html)

4. Make sure you have [PostgreSQL](https://www.postgresql.org/) installed and running.

5. [Node and npm](https://nodejs.org/en/download/) are installed. Here are the versions I'll be using while making this tutorial:

```shell
$ node --version
v16.13.2
$ npm --version
8.1.2
$ yarn --version
1.22
```
> Installing npm adds two commands to the systemβ€”`npm` and `npx`β€”both of which I'll be using while making this tutorial.
```sh
cd your-desired-folder
git clone https://github.com/altontonn/OpenFlights
```

6. [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) is installed. Here's the version I'll be using while making this tutorial:

```shell
$ git --version
git version 2.29.1.windows.1
```

7. A [GitHub](https://github.com/signup)

8. [Ruby](https://rubyinstaller.org/downloads/) are installed. Here are the versions I'll be using while making this tutorial:

```shell
$ ruby --version
ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [x64-mingw-ucrt]
```
> Installing ruby add the command to the systemβ€”`irb` which we'll be using while making this tutorial.

### Setup

Clone this repository to your desired folder:

```sh
cd my-folder
git clone https://github.com/altontonn/OpenFlights.git
```

### Install

Install this project with:

```sh
cd OpenFlights
bundle install
```

### Run
* Change/include `host, username, password` according to your database server.
* Run `rails db:create` and `rails db:migrate`
* Run `rails db:seed` to enter some data into database.
* Run `rails s` to start the server.
* In your browser, go to `http://localhost:3000`.

### Usage

To run the project, execute the following command:

```sh
### Usage
* To run and test use the `email: your email` and `password: 123456`
```

## πŸ‘₯ Author

πŸ‘€ **Newton Alumasa**

- [Github](https://github.com/altontonn/)
- [Twitter](https://twitter.com/AlumasaNewton)
- [Linkedin](https://www.linkedin.com/in/newton-alumasa/)

(back to top)

## πŸ”­ Future Features

- [ ] **[Improve the application UI for small screen devices]**

(back to top)

## 🀝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](https://github.com/altontonn/OpenFlights/issues).

(back to top)

## ⭐️ Show your support

If you like this project then please give a ⭐️ and also share your feeback using github issues.

(back to top)

## πŸ™ Acknowledgments

I would like to thank ❀️ [Zayne Abraham](https://zayne.io/about) for his guidance tools and documentation.

(back to top)

## πŸ“ License

This project is [MIT](https://github.com/altontonn/OpenFlights/blob/dev/LICENSE) licensed.

(back to top)