Skip to content

ZhiDong02134/movieAfterthoughtsBackEnd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend of Movie Afterthoughts

Continuing from Frontend setup

Clone this repository. You will need node and npm installed globally on your machine.

Installation:

npm install
  • Download MySQL from MySQL

  • Set up MySQL on local machine and retrieve your MySQL host, user, password.

  • Create a new database on MySQL and retrieve the database name.

  • Sign up for an api key on The Movie Database.

  • Create a .env file in the root directory.

  • Input all information retrieved along with a jwt secret (can be any string) in .env.

  • Your .env should look something like the image below, with all the values inputted according. Make sure the variable names match.

.env

To Start Backend:

npm run dev

License

Distributed under the MIT License. See LICENSE for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published