[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.
React
Ruby on Rails
Database
Webpack
- [Boats]
- [reservations]
- [Users]
Add a link to your deployed project.
To get a local copy up and running, follow these steps.
-
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).
-
Make sure you have Ruby installed in your system. You can install it here
-
Get started with Ruby on Rails.
-
Make sure you have PostgreSQL installed and running.
-
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.
- 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
```
-
A GitHub account.
-
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.
Clone this repository to your desired folder:
cd my-folder
git clone [email protected]:CakeInTech/SailingSpot.git
Install this project with:
cd SailingSpot
bundle install
yarn install
- Change/include
host, username, password
according to your database server. - Run
rails db:create
andrails 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
.
- 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 formodels
. - Run
rspec spec/requests
to run test cases forcontrollers
. - Run
rspec spec/features
to run test cases forviews
. - Run
rspec spec/intergration
to run test cases forswagger api endpoint
. - Run
rspec spec/filepath/filename.rb
to run test cases individually.
- To run and test as admin use the
email: [email protected]
andpassword: 123456
- To run and test as user use the
email: [email protected]
andpassword: 123456
π€ Mohamed Ibrahim
- GitHub: @CakeInTech
- LinkedIn: Mohamed Ibrahim
π€ Md Tariq-ul Islam
- GitHub: @developertariq
- LinkedIn: @developer-tariq
- Twitter: @developer_tariq
π€ Newton Alumasa
- GitHub: altontonn
- LinkedIn: newton-alumasa
- Twitter: AlumasaNewton
π€ Chimezie Asouzu
- Link to Kanban Board: Kanban
- Initial state of Kanban board: Kanban Image
- We are a team of 4 persons.
- [Improve the application UI]
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project then please give a βοΈ and also share your feeback using github issues.
- β€οΈ Murat Korkmaz
This project is MIT licensed.