FMDb, inspired by IMDb, is an online movie database where users can explore movies, create collections, and leave ratings and reviews.
FMDb is brought to you by the following developers:
Leah Kim
Paul Oh
Angel Wei
Cecilia Zhao
Thank you for visiting!
How do I run this project?
-
Clone this repo
git clone git@github.com:AngelShuWei/FMDb.git
-
Install dependencies
npm install
-
Create a user with CREATEDB and PASSWORD in PSQL
CREATE USER <name> WITH CREATEDB PASSWORD '<password>'
-
Create a
.env
file in the backend directory based on the.env.example
found within the respective directory -
Enter your psql user's name and password information into your
.env
file along with your desired database name, a secured combination of characters for your JWT_SECRET, and your desired PORT (preferably 5000) -
Create Database, Migrate, and Seed models:
npx dotenv sequelize db:create
npx dotenv sequelize db:migrate
npx dotenv sequelize db:seed:all
-
Start the application
npm start
How do I log in as a Demo User?
On the log in page, click "Demo Login".Users can create, edit, and delete movie collections.
Users can create, update, and delete ratings and reviews.