An old-school movie rental app, built with modern tech for Digital Ocean's 2021 MongoDB Hackathon
-
๐ผ Movies
- Create
- List all
- Show one
- Edit
- Delete
-
๐จโ๐ฉโ๐งโ๐ฆ Customers
- Create
- List all
- Show one
- Edit
-
โณ Rental
- Rent movie to customer
- Return movie
- NestJS as back-end;
- Next.js as front-end;
- MongoDB, on DO Managed Databases
- DO App Platform
# Install the correct Node version with nvm
$ nvm install
# Install dependencies with Yarn
$ yarn
# Install packages' dependencies with Lerna
$ yarn bootstrap
# Create a .env file based on the example for the back-end
# Make sure to fill it with your MongoDB instance credentials
$ cp packages/backend/.env.example packages/backend/.env
# Create a .env file based on the example for the back-end
# Fill it with your local api address
$ cp packages/frontend/.env.example packages/frontend/.env.local
# Start dev servers!
# Back-end is available on port 3000 and front-end on port 3001
$ yarn start