Skip to content

sriramalavalapati3/Movie-ticket-reservation-system

Repository files navigation

Movie-ticket-reservation-system

This is a Booking Service which allows you to choose seats and book

These are routes created , documented using postman

Routes go through the link for api Points

Tech Stack used

MySql , Express.js , Nodejs , Sequilze , Sequilize-cli

Database Schema

``

``

Steps to set up this application in your Docker

note: please,Follow the steps exactly

  1. Clone the Repositorty using this command

git pull (github url)

  1. Update the MySQL credentials in config/config.json (in development only).

3 .start local Mysql Server ,Create a database using this command

CREATE DATABASE bookingservice

Open the file in the terminal

  1. Use the below command in terminal:

docker-compose up --build

  1. It will create a Docker image and run it automatically.

  2. If you stop the application and want to use it again, you can use this command:

docker run -p 3000:3000 <DOCKER IMAGE ID>

  1. Export .csv data to Mysql databases

  2. Your Set to go

challenges faced

--> New to Docker

--> facing chanllenges while connecting local Mysql server with Docker

--> Exporting csv file into Mysql and creating Schema for the Tables.

What i have learned

1.Usage of Docker

2.More Clarity on Creating Mysql data base

About

This is a Booking Service which allows you to choose seats and book

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published