Skip to content

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.

Notifications You must be signed in to change notification settings

Pamphilemkp/car-reservation

Repository files navigation

Ruby Shell Script Postgres Rails

# πŸ“— 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.

FrontEnd UI

Key Features

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

(back to top)

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/

Api Documentation Screenshot

(back to top)

πŸ‘₯ ✍️ Authors

πŸ‘¨β€πŸ’» πŸ‘€ Pamphile Mkp ✍️

man_technologist: πŸ‘€ Basit Ali ✍️

(back to top)

πŸ‘¨β€πŸ’» πŸ‘€ Patrick Maina ✍️

πŸ‘¨β€πŸ’» πŸ‘€ Mark otuya ✍️

πŸ‘¨β€πŸ’» πŸ‘€ Adebowale Adegboye Monsur ✍️

πŸ”­ Future Features

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

(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 or find it useful/interesting, please make sure you give ⭐️ a since this will make it easily accesible for you too!

(back to top)

πŸ™ Acknowledgments

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

(back to top)

πŸ“ 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.

(back to top)

=======

πŸ“— 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.

FrontEnd UI

Key Features

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

(back to top)

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/

Api Documentation Screenshot

(back to top)

πŸ‘₯ ✍️ Authors

πŸ‘¨β€πŸ’» πŸ‘€ Pamphile Mkp ✍️

man_technologist: πŸ‘€ Basit Ali ✍️

(back to top)

πŸ‘¨β€πŸ’» πŸ‘€ Patrick Maina ✍️

πŸ‘¨β€πŸ’» πŸ‘€ Mark otuya ✍️

πŸ‘¨β€πŸ’» πŸ‘€ Adebowale Adegboye Monsur ✍️

πŸ”­ Future Features

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

(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 or find it useful/interesting, please make sure you give ⭐️ a since this will make it easily accesible for you too!

(back to top)

πŸ™ Acknowledgments

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

(back to top)

πŸ“ 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.

(back to top)

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •