Skip to content

RyanTokManMokMTM/NodeJsServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Movie Booking demo

Installation

  1. Download Node.js Installer from this link
https://nodejs.org/en/download/
  1. Clone the project
$ git clone https://github.com/RyanTokManMokMTM/NodeJsServer.git
  1. Install mysql and run the sql into you database.
https://www.mysql.com/
  1. Modify the .env file to your own setting
SERVER_HOST = server_host
SERVER_PORT = server_port
DB_HOST = db_host
DB_PORT = db_port
DB_USER = db_user
DB_PASSWORD = db_pw
DB_DATABASE = db
  1. Install the package you need for this project
npm install
  1. run the server up to your local machine
npm run server

There are something need to be fix...

  • MySQL Desgin Problem, must be a atomic data for the moivie genre type....
    • Need another table/Schema to storing the genre type
    • Movie Schema need the foreign key(one to many relation ship). A movie can has many genres

Need More work on this project...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors