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.
To Start Backend:
npm run dev
Distributed under the MIT License. See LICENSE for more information.