Skip to content

This project is a back-end API built using Ruby on Rails for a booking application. The application is designed to handle user authentication and authorization. The front-end of the application is responsible for making API calls to fetch data from the server, display it to the user, and send instructions based on user interaction with the app.

License

Notifications You must be signed in to change notification settings

RichardChileya/booking-app-back-end

Repository files navigation

📗 Table of Contents

📖 [booking-app ]

[booking-app-bak-end] is an application which allows users to to book/rent vehicles for the stipulated amount of time.

🛠 Built With

Tech Stack

Server
Database

Key Features

  • [Authenicate user]
  • [Fetch bookings]
  • [Post bookings]

(back to top)

🚀 Live Demo

  • [Live Demo Link](coming soon)

(back to top)

💻 Getting Started

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

Prerequisites

In order to run this project you need:

  • Have ruby installed
  • Have node installed
  • Have rails installed

Setup

You can find the React Frontend client at React-client

Clone this repository to your desired folder:

To run and view this application, you will first have to clone a local version of this repository using:

git clone https://github.com/RichardChileya/booking-app-back-end.git

After that navigate to the newly created folder:

cd booking-app

Install

Install this project with: bundle install

Usage

  • To run the project follow the instructions below:

  • You can find the React Frontend client at React-client

  • Configure Environment file in your project by running the following command:

bundle exec figaro install

  • In config/application.yml, add the following env keys: DEVISE_SECRET_KEY: DB_USERNAME: DB_PASSWORD:

  • Run the command below to generate App Secret for your authentication and add as the DEVISE_SECRET_KEY in your environment: rake secret

  • Then run the following command to setup the database:

rails db:create, rails db:migrate, rails db:seed
  • Start a local server running the command:

rails s

Run tests

To run tests, run the following command:

bundle exec rspec ./spec/requests
bundle exec rspec ./spec/controllers

Deployment

You can deploy this project using:

(back to top)

👥 Authors

👤 Richard Chileya

👤 Tashobya Israel

👤 Recillah Khamala

👤 Muyiwa Fawole

(back to top)

🔭 Future Features

  • [More booking options]

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

Give a ⭐️ if you like this project!

(back to top)

🙏 Acknowledgments

we would like to thank:

  • Microverse for adding this project in the carriculum
  • Murat Korkmaz the creator of the original design.

(back to top)

Kanban Board

(back to top)

📝 License

This project is MIT licensed.

(back to top)

About

This project is a back-end API built using Ruby on Rails for a booking application. The application is designed to handle user authentication and authorization. The front-end of the application is responsible for making API calls to fetch data from the server, display it to the user, and send instructions based on user interaction with the app.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •