Skip to content

SergioSboy/concierge-service-for-organizing-concerts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Ticket Management System

This project is a ticket management system consisting of two parts:

  1. Frontend — located in the tickets-frontend folder and built with React.
  2. Backend — located in the backend_ruby_on_rails folder and built with Ruby on Rails. Docker and Docker Compose are used for easy setup and deployment.

Contents

  1. Requirements
  2. Installation and Launch
  3. Useful Commands
  4. Project Structure

Requirements

To work with this project, you will need to install the following tools:

Installation and Launch

Backend Launch

  1. Navigate to the backend_ruby_on_rails directory:

    cd backend_ruby_on_rails
  2. Start Docker Compose to build and run all necessary containers:

    docker-compose up --build
    docker compose run --rm booking_server bash
    rails db:create
    rails db:migrate
     docker compose run --rm gate_server bash
     rails db:create
     rails db:migrate
     docker compose run --rm user_server bash
     rails db:create
     rails db:migrate
    docker compose run --rm ticket_server bash
    rails db:create
    rails db:migrate
    rails db:seed
  3. Once the backend is successfully launched, it will be accessible at http://localhost:3000.

Frontend Launch

  1. Navigate to the tickets-frontend directory:

    cd tickets-frontend
  2. Install the necessary dependencies:

    npm install
  3. Start the frontend server:

    npm start
  4. Once the frontend is successfully launched, it will be accessible at http://localhost:3000.

Useful Commands

Backend

  • Stop all containers:

    docker-compose down
  • Restart containers:

    docker-compose restart
  • View logs:

    docker-compose logs -f

Frontend

  • Build the project:

    npm run build
  • Run tests:

    npm test

About

Concierge Visitor Management Service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published