Skip to content

HKR-fullstack-course/Cinema-Ticket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is no longer actively maintained!

   

Discovery-Cinema Website

 

Requitements

  • node
  • npm
  • .env, with the following variables:
    • REACT_APP_CLOUD_NAME
    • REACT_APP_PRESET_NAME
    • DB_CONNECTION
    • MY_PASSWORD
    • API_TOKEN
    • CLIENT_TOKEN

 

Install dependencies

npm i

   

Back-end

  Back-end is deployed and works seperatedly, you can view API-Doc FROM HERE

To run back-end locally

npm run server

For live server:

npm run dev

   

Front-end

You can view the deployed version FROM HERE

   

Locally

To run both Front-end & Back-end locally, after installing dependencies you should open two bashes. and run the following commands:

front-end: Port 3000  

npm start

    back-end: Port 5000

npm run dev