Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sriramalavalapati3/movie-ticket-reservation-system
This is a Booking Service which allows you to choose seats and book
https://github.com/sriramalavalapati3/movie-ticket-reservation-system
docker docker-compose expressjs mysql-database nodejs nodemon sql
Last synced: 11 days ago
JSON representation
This is a Booking Service which allows you to choose seats and book
- Host: GitHub
- URL: https://github.com/sriramalavalapati3/movie-ticket-reservation-system
- Owner: sriramalavalapati3
- Created: 2023-06-16T16:28:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-14T11:20:12.000Z (over 1 year ago)
- Last Synced: 2023-09-15T02:53:43.267Z (over 1 year ago)
- Topics: docker, docker-compose, expressjs, mysql-database, nodejs, nodemon, sql
- Language: JavaScript
- Homepage:
- Size: 91.8 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://documenter.getpostman.com/view/24325307/2s93z5A5Sv) 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)`2. 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
4. Use the below command in terminal:
`docker-compose up --build`
5. It will create a Docker image and run it automatically.
6. If you stop the application and want to use it again, you can use this command:
`docker run -p 3000:3000 `
7. Export .csv data to Mysql databases
8. 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