Skip to content

Sikaopa/bnp

Repository files navigation

Rent your dream Boat today!

About BnP

AirBnb like marketplace where users can rent and host Boats

How it works

  1. Browse and find the boat that you love
  2. Select dates and send a booking request to the owner
  3. Owners can accept or decline requests

Stack used

Installation

Setup

In order to run our app locally, you will need to have already installed Yarn and Rails. Check them with:

$ yarn -v
$ rails -v

If no version number is returned, please install Yarn and/or Rails before continuing.

Dependencies

You'll also need to install all dependencies of the project with:

$ bundle install
$ yarn install

The bundle command installs all Ruby Gems specified in our Gemfile. The yarn install command retrieves all dependencies from the project’s package.json file.

Run the following command to create a database, load the schema, and initialize it with our seed data.

$ rails db:create db:migrate db:seed

API Key

Lastly, our API key is hidden. You will need to touch a .env file and populate it with your own Cloudinary API key.

Make sure to include your .env file in the .gitignore

Launch 🛥️

Finally! Lets launch the app by running:

$ rails s
$ yarn build --watch # In another tab of the terminal

alternatively this shortcut the above

$ bin/dev

Then type localhost:3000 in your favourite browser

Contributing

Feel free to fork and create a pull request we will review and merge accordingly

Don't forget to give the project a ⭐️ Thanks!

License

Project created as part of the **Le Wagon Coding Bootcamp**

Feel free contribute as you please

Special thanks to

For giving life to this original idea

Hits

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published