https://github.com/mathcale/mathbuster
An old-school movie rental app, built with modern tech for Digital Ocean's 2021 MongoDB Hackathon
https://github.com/mathcale/mathbuster
digitalocean hackathon mongodb nestjs nextjs react typescript
Last synced: 2 months ago
JSON representation
An old-school movie rental app, built with modern tech for Digital Ocean's 2021 MongoDB Hackathon
- Host: GitHub
- URL: https://github.com/mathcale/mathbuster
- Owner: mathcale
- Created: 2021-07-01T01:53:16.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-20T01:17:50.000Z (almost 5 years ago)
- Last Synced: 2025-10-11T19:09:58.579Z (8 months ago)
- Topics: digitalocean, hackathon, mongodb, nestjs, nextjs, react, typescript
- Language: TypeScript
- Homepage:
- Size: 1.21 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
An old-school movie rental app, built with modern tech for Digital Ocean's 2021 MongoDB Hackathon
## Features
- ๐ผ Movies
- Create
- List all
- Show one
- Edit
- Delete
- ๐จโ๐ฉโ๐งโ๐ฆ Customers
- Create
- List all
- Show one
- Edit
- โณ Rental
- Rent movie to customer
- Return movie
## Tech
- [NestJS](https://nestjs.com/) as back-end;
- [Next.js](https://nextjs.org/) as front-end;
- MongoDB, on [DO Managed Databases](https://www.digitalocean.com/products/managed-databases-mongodb/)
- [DO App Platform](https://www.digitalocean.com/products/app-platform/)
## Running the app locally
```bash
# 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
```
## Who made this?
- [Matheus Calegaro](https://matheus.me)
## License
[MIT licensed](LICENSE)