/mathbuster

An old-school movie rental app, built with modern tech for Digital Ocean's 2021 MongoDB Hackathon

Primary LanguageTypeScript

Mathbuster

An old-school movie rental app, built with modern tech for Digital Ocean's 2021 MongoDB Hackathon

Run in Insomnia

Features

  • ๐Ÿ“ผ Movies

    • Create
    • List all
    • Show one
    • Edit
    • Delete
  • ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Customers

    • Create
    • List all
    • Show one
    • Edit
  • โณ Rental

    • Rent movie to customer
    • Return movie

Tech

Running the app locally

# 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?

License

MIT licensed