A movie database web application based on IMDB and TMDB where you can browse and search for movies, add them to your watchlist, favorite them or leave reviews.
- Open an IDE, navigate to the folder /server/ and run the following command
npm i
- After all the packages are installed, while still in the /server/ directory, run the following commands in this order
npx knex migrate:rollback
npx knex migrate:latest
npx knex seed:run
- When all the migrations and seed is completed, you can start the server by running the following command.
npx nodemon server.js
Once completed you should see the message "Server is running on port 9090" in the terminal.
To make nodemailer work, navigate to the /server/config/ folder, and create a file "mailer_config.js" by copying the "mailer_config_template.js" file and replace the credentials with your own gmail credentials. Use a gmail for testing purposes only, and make sure the security setting "allow less secure apps" is turned on in your gmail settings.
- In your IDE, navigate to /client/ folder and run the following commands in this order
npm i
npm start
The project is now up and running!