/SailingSpot

SailingSpot is a user-friendly boat reservation app that simplifies the process of reserving boats for drive testing. Easily browse and book from a wide selection of boats, manage reservations, and enjoy a seamless experience. Built with React, Redux and Ruby on Rails.

Primary LanguageRubyMIT LicenseMIT

logo

SailingSpot

πŸ“— Table of Contents

πŸ“– [Sailing_Spot]

[Sailing_Spot] is a full-stack web application that enables users to reserve boats. The application was developed using the Ruby on Rails framework for the back-end, and React for the front-end. With this application, users can easily browse available boats, select a desired boat, and reserve it for a specified period of time. The application offers a user-friendly and intuitive interface, making the process of reserving a boat easy and straightforward.

πŸ›  Built With

Tech Stack

React
Ruby on Rails
Database
Webpack

Key Features

  • [Boats]
  • [reservations]
  • [Users]

(back to top)

πŸš€ Live Demo

Add a link to your deployed project.

(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 (class syntax, arrow functions, object destructuring etc). - Basic understanding of basic Ruby concepts. - Ruby fundamentals (classes, modules, blocks, etc).

  2. Make sure you have Ruby installed in your system. You can install it here

  3. Get started with Ruby on Rails.

  4. Make sure you have PostgreSQL installed and running.

  5. Node and npm 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.
  1. 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
```
  1. A GitHub account. :octocat:

  2. Ruby 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:

  cd my-folder
  git clone git@github.com:CakeInTech/SailingSpot.git

Install

Install this project with:

  cd SailingSpot
  bundle install
  yarn 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 ./bin/dev to start the server.
  • In your browser, go to http://localhost:3000.

Test

  • Run gem install rspec to install Rspec,
  • Run rspec spec to run all the test cases, and
  • Run rspec spec/models to run test cases for models.
  • Run rspec spec/requests to run test cases for controllers.
  • Run rspec spec/features to run test cases for views.
  • Run rspec spec/intergration to run test cases for swagger api endpoint.
  • Run rspec spec/filepath/filename.rb to run test cases individually.

Usage

  • To run and test as admin use the email: admin@gmail.com and password: 123456
  • To run and test as user use the email: user@gmail.com and password: 123456

(back to top)

πŸ‘₯ Authors


πŸ‘€ Mohamed Ibrahim

πŸ‘€ Md Tariq-ul Islam

πŸ‘€ Newton Alumasa

πŸ‘€ Chimezie Asouzu

(back to top)

πŸ‘₯ Kanban Board

  • Link to Kanban Board: Kanban
  • Initial state of Kanban board: Kanban Image
  • We are a team of 4 persons.

(back to top)

πŸ”­ Future Features

  • [Improve the application UI]

(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 then please give a ⭐️ and also share your feeback using github issues.

(back to top)

πŸ™ Acknowledgments

(back to top)

πŸ“ License

This project is MIT licensed.

(back to top)