/Esport_Gaming_Center_Backendd

This project involves developing an eSports reservation system with two distinct parts: the Backend, developed using Ruby on Rails, and the Frontend, built with React.

Primary LanguageRubyMIT LicenseMIT


Esport Gaming Center

πŸ“— Table of Contents

πŸ“–πŸš— Esport Gaming Center App

This project involves developing an eSports reservation system with two distinct parts: the Backend, developed using Ruby on Rails, and the Frontend, built with React. This system aims to cater to eSports players, allowing them to reserve games, manage reservations, and access a catalog of available games. Click on the link[https://github.com/cancelei/EsportGamingCenter_frontend] to navigate to the backend of our APP.

πŸ›  Built With

Tech Stack

List of technologies used for this project

BackEnd
Front-end/View
Front-end/Store management
Database

Key Features

  • Create and Remove Games
  • Create Reservations
  • Full stack webpage
  • Can see all the list of reservation of current user
  • Details of every game in db
  • Log in and Sign up feature

(back to top)

πŸš€ Live Demo

Under Construction πŸ’»πŸ“²

(back to top)

🎫 Kanban Board

(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:

you need to install ruby 3.2.2 using the prefer tool, example:

  • rvm

  • rbenv

  • asdf-vm

  • Browser (Google Chrome, Mozilla Firefox, Safari or any other browser)

Setup

Clone this repository to your desired folder:

  cd my-folder
  git clone https://github.com/cancelei/EsportGamingCenter_backend.git

Install

Install this project with:

  cd EsportGamingCenter_backend
  bundle install
  npm install

Usage

To run the project, execute the following command:

./bin/dev

Note: If there are any errors consider adding your necesary username and password in database.yml for setting up your local enviroment and use the following comand:

rails db:drop db:create db:migrate
./bin/dev

Then, you have to create in the root of the project a .env file:

Alt text

, inside of that file, you must put the following code:

DB_USER = 'postgress_database_user' Note: this it has to be as string ''
DB_PSW = 'postgress_database_user_password' Note: this it has to be as string ''
DB_PORT = your_postgress_port Note: this it has to be as an integer
DB_NAME_DEV = 'name_of_your_DB' Note: this it has to be as string ''
DB_NAME_TEST ='name_of_your_DB_test' Note: this it has to be as string ''

Example:

DB_USER = 'luis'
DB_PSW = 'luis123'
DB_PORT = 5432
DB_NAME_DEV = 'gaming'
DB_NAME_TEST ='gaming_test'

Alt text

Run tests

To run tests, run the following command:

rake rswag:specs:swaggerize

(back to top)

πŸ‘₯ Authors

πŸ‘¨πŸΌβ€πŸš€ Juan Diego Guerra (JD) πŸ‘½

πŸ‘€ Gardimy Charles πŸ±β€πŸ‘€

πŸ‘€ Luis Emilio Rojas Rojas

πŸ‘¨πŸΌβ€πŸš€ Abel Lavieri πŸ§™πŸΌβ€β™‚οΈ

πŸ‘¨πŸΌβ€πŸš€ Glauber Bannwart πŸ¦ΈπŸΌβ€β™‚οΈ

(back to top)

πŸ”­ Future Features

  • Improve UI
  • Add more functionalities
  • Add more details on reservation list

(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,please give it a ⭐️!

(back to top)

πŸ™ Acknowledgments

We would like to thank Microverse for giving us the opportunity to learn and grow as developers and also We like to thank our family, they are all our support. 🌟

Original design idea by Murat Korkmaz on Behance.

(back to top)

❓ FAQ

  • Do I need to install any program before running this project?

    • Yes, you need to install Ruby

  • Can I use this project for my own purposes?

    • Yes, you can.

(back to top)

πŸ“ License

This project is MIT licensed.

(back to top)