Giter Club home page Giter Club logo

aybeedee / movie-web-app Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 3.0 405 KB

View a collection of user-added movies and reviews, sign up to add your own - Node, Express, PostgreSQL, Sequelize, React, TypeScript, TailwindCSS, Docker

Home Page: https://cmdb-movies.netlify.app

License: MIT License

JavaScript 1.30% HTML 0.17% CSS 1.05% TypeScript 97.38% Dockerfile 0.11%
docker docker-compose expressjs nodejs postgresql react sequelize-orm tailwindcss typescript

movie-web-app's Introduction

Next.js and Supabase Starter Kit - the fastest way to build apps with Next.js and Supabase

CMDb - Movie Database Web App

Preview live at cmdb-movies.netlify.app

View a large collection of movies and reviews. Sign up to add your own.

Local Setup · Testing · Tech · Containerization · Deployment · Progress


Local Setup

Using Docker

  • navigate to root cd movie-web-app
  • build and run with compose docker-compose up --build

Note

Run docker-compose down --volumes after stopping -potentially helps avoid postgres seed/init issues

Without Docker

  • Frontend:

    • commands: cd frontend npm install npm run dev
    • envars:
      • VITE_BACKEND_URL=http://[yourhost]:[backendport]
  • Backend:

    • commands: cd backend npm install npm start
    • envars:
      • POSTGRES_DATABASE=yourdatabase
      • POSTGRES_USERNAME=yourusername
      • POSTGRES_PASSWORD=yourpassword
      • POSTGRES_HOST=yourhost
      • POSTGRES_PORT=dbport
      • JWT_SECRET=yoursecret
      • JWT_EXPIRES_IN=1h
      • PORT=backendport

Testing

  • Frontend:

    • command: npm test
    • tools:
      • jest, jest-dom, ts-jest
      • react testing library
  • Backend:

    • command: npm test
    • tools:
      • jest, ts-jest

Tech

  • Backend
    • TypeScript
    • Node.js
    • Express.js
    • PostgreSQL
    • Sequelize
    • class-validator
    • jwt
  • Frontend
    • TypeScript
    • React.js
    • Vite
    • React Router
    • TailwindCSS
    • Axios
    • shadcn ui

Containerization

  • Docker
  • Docker Compose

Deployment

  • Frontend - Netlify
  • Backend - Render
  • DB - Render

Progress

  • Frontend init, boilerplate, structure
  • Backend init, boilerplate, structure
  • Frontend routing
  • Postgres schema
  • DB Integration
  • ORM Setup, Model generation
  • Auth module
  • Auth UI, end to end functionality
  • Movie module
  • Review module
  • Integration
  • Dockerization
  • Deployment
  • Testing - Frontend
  • Testing - Backend
  • Refactoring, Styling Improvements, Bugs

movie-web-app's People

Contributors

aybeedee avatar nesyg avatar

Stargazers

Stray avatar Pratheesh Balachandran avatar

Watchers

 avatar

movie-web-app's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.