mwafrika / final_capstone_backend

Yamaha Motor App is a motorcycle reservation platform that allows customers to book their motorcycle remotely within a defined time frame

Home Page:https://yamaha-motor.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


TABLE OF CONTENTS
  1. About The Project
  2. Getting Started
  3. Usage
  4. Kanban board
  5. Contributing
  6. Authors
  7. Acknowledgments
  8. License

About The Project

Yamaha Motor App is a motorcycle reservation platform that allows customers to book their motorcycle remotely within a defined time frame.

ERD diagram

ERD diagram

Built With



Getting Started

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

Prerequisites

  • POSTGRESQL ~> 14.x
  • Ruby ~> 3.1.x

Installation

  1. Clone the repo:

    git clone git@github.com:mwafrika/final_capstone_backend.git
  2. go to the project folder:

    cd final_capstone_backend
  3. Install the dependencies:

    bundle install
  4. Set the following the environment variables for database:

    DATABASE_NAME
    USER_PASSWORD
    USER_NAME
    
  5. Create database:

    rails db:create
  6. Run the migrations:

    rails db:migrate
  7. Seed the database:

    rails db:seed
  8. Generate a secret key:

     rails secret
  9. Edit your credentials.yml.enc file:

$env:EDITOR="notepad"

rails credentials:edit
  1. Set the credentials to decode the JWT
secret_key_base: <your secret key>
  1. Launch the server:
rails s -p 8000

⬆️

Usage

For more Info on how to use the API, please refer to the Yamaha motor API Documentation

Kanban board

👉 Kanban board link

drawing

👉 This project was authored by Four contributors as described in the the Authors section bellow.

👉 Please use this link to go to the front-end part of this project.

⬆️

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

Please, take a look at open issues for a full list of proposed features (and known issues).

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".

Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

⬆️

Authors

👤 Mwafrika Josué

👤 Bushra Mostafa

👤 Abenezer Tilahun

⬆️

Acknowledgments

⬆️

License

Distributed under the AGPL License. See LICENSE for more information.

⬆️

About

Yamaha Motor App is a motorcycle reservation platform that allows customers to book their motorcycle remotely within a defined time frame

https://yamaha-motor.netlify.app/

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 88.3%Language:Ruby 9.0%Language:CSS 2.2%Language:Batchfile 0.4%Language:HTML 0.0%