car-reservation

This repo holds the BackEnd development source for the Car Reservation App, the world's best free car reservation website. Car Reservation allows user to add car and see the car model and shop it.

Stars
0

[Car Reservation]

This repo holds the BackEnd development source for the Car Reservation App, the world's best free car reservation website. Car Reservation allows user to add car and see the car model and shop it.

Built With

Tech Stack

Describe the tech stack and include only the relevant sections that apply to your project.

Key Features

  • [Add an accommodation]
  • [Make a reservation]

Kanban Board

Getting Started

Describe how a new developer could make use of your project.

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

Prerequisites

In order to work on this project, you need to have the following dependencies installed:

Setup

Clone this repository to your desired folder:

sh git clone https://github.com/Pamphilemkp/car-reservation.git cd Budget-app

Commands to run

To get all the gems required for the project:

bundle install

To install packages such as style linters:

npm install

To check linters locally, use:

rubocop

npx stylelint "**/*.{css,scss}"

Once you have the project correctly set up, run:

To run all migrations, create the database for testing and for development, and insert some data into the database for you to visualize the changes:

bin/rails db:setup

Finally, each time you make changes to the project, run

In the root folder to check the consistency of the app. Please don't make changes to the tests unless completely necessary, and mention it in your PR description:

rspec

Getting Started

  • Check the Ruby version or if you have at all by running ruby -v if you get something like this ruby 2.6.8p205 (2021-07-07 revision 67951) you have Ruby installed.
  • Clone the repository by running git clone https://github.com/Pamphilemkp/car-reservation.git in your CLI.
  • Type cd Exploration-Getaways-BACKEND
  • Type code .
  • Run bundle install

NOTE you need to have a master key in config directory. If none exists generate one.

  - First delete `credentials.yml.enc`
  - Run EDITOR="code" bundle exec rails credentials:edit 
  • Run rails db:create db:migrate
  • Optionally you can run rails db:seed to populate it
  • Run rails server to open the local server
  • Open Browser http://localhost:3000/

Usage

To run the project, execute the following command:

rails server

--->

Run tests

To run tests, run the following command:

sh bin/rails test test/models/article_test.rb

API Documentation

Open Browser and visit http://localhost:3000//api-docs/

✍️ Authors

👨‍💻 Pamphile Mkp ✍️

man_technologist: Basit Ali ✍️

👨‍💻 Patrick Maina ✍️

👨‍💻 Mark otuya ✍️

👨‍💻 Adebowale Adegboye Monsur ✍️

Future Features

  • [Allow user to upload avatar]
  • [Include "My Profile" section/page]

Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

If you like this project or find it useful/interesting, please make sure you give a since this will make it easily accesible for you too!

Acknowledgments

This work is licensed under a Creative Commons Attribution 4.0 International License.

License

This project is MIT licensed.

NOTE: we recommend using the MIT license - you can set it up quickly by using templates available on GitHub. You can also use any other license if you wish.

Table of Contents

[Car Reservation]

This repo holds the BackEnd development source for the Car Reservation App, the world's best free car reservation website. Car Reservation allows user to add car and see the car model and shop it.

Built With

Tech Stack

Describe the tech stack and include only the relevant sections that apply to your project.

Key Features

  • [Add an accommodation]
  • [Make a reservation]

Kanban Board

Getting Started

Describe how a new developer could make use of your project.

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

Prerequisites

In order to work on this project, you need to have the following dependencies installed:

Setup

Clone this repository to your desired folder:

sh git clone https://github.com/Pamphilemkp/car-reservation.git cd Budget-app

Commands to run

To get all the gems required for the project:

bundle install

To install packages such as style linters:

npm install

To check linters locally, use:

rubocop

npx stylelint "**/*.{css,scss}"

Once you have the project correctly set up, run:

To run all migrations, create the database for testing and for development, and insert some data into the database for you to visualize the changes:

bin/rails db:setup

Finally, each time you make changes to the project, run

In the root folder to check the consistency of the app. Please don't make changes to the tests unless completely necessary, and mention it in your PR description:

rspec

Getting Started

  • Check the Ruby version or if you have at all by running ruby -v if you get something like this ruby 2.6.8p205 (2021-07-07 revision 67951) you have Ruby installed.
  • Clone the repository by running git clone https://github.com/Pamphilemkp/car-reservation.git in your CLI.
  • Type cd Exploration-Getaways-BACKEND
  • Type code .
  • Run bundle install

NOTE you need to have a master key in config directory. If none exists generate one.

  - First delete `credentials.yml.enc`
  - Run EDITOR="code" bundle exec rails credentials:edit 
  • Run rails db:create db:migrate
  • Optionally you can run rails db:seed to populate it
  • Run rails server to open the local server
  • Open Browser http://localhost:3000/

Usage

To run the project, execute the following command:

rails server

--->

Run tests

To run tests, run the following command:

sh bin/rails test test/models/article_test.rb

API Documentation

Open Browser and visit http://localhost:3000//api-docs/

✍️ Authors

👨‍💻 Pamphile Mkp ✍️

man_technologist: Basit Ali ✍️

👨‍💻 Patrick Maina ✍️

👨‍💻 Mark otuya ✍️

👨‍💻 Adebowale Adegboye Monsur ✍️

Future Features

  • [Allow user to upload avatar]
  • [Include "My Profile" section/page]

Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

If you like this project or find it useful/interesting, please make sure you give a since this will make it easily accesible for you too!

Acknowledgments

This work is licensed under a Creative Commons Attribution 4.0 International License.

License

This project is MIT licensed.

NOTE: we recommend using the MIT license - you can set it up quickly by using templates available on GitHub. You can also use any other license if you wish.

Related Projects