Table of contents
Open Table of contents
MoviesDB
Website with information about movies, using React.js on the frontend and Go on the backend.
Uses JWT tokens for user authentication and REST and GraphQL based APIs.
You can explore existing movies on the website and even register and add a new movie to the Database 😃
You can find the source code on GitHub.
🚀 Running Locally
Server
- Navigate to server folder:
cd server
- Build the server with:
make build
- Start a PostgreSQL database and the server:
make run
- API will be available at http://localhost:8080/
Client
- Navigate to client folder:
cd client
- Install dependencies
npm install
- Start the client
npm run dev
- UI will be available at https://localhost:5173/
⚙️ Features
- User registration
- JWT authentication with a periodic token refresh
- Browsing a list of movies
- Viewing information for an individual movie
- Searching movies by genre
- Adding new movies
- Fetching the movie’s poster image from TMDB
- Updating existing movies
- Deleting movies from the database
- Searching movies by title using GraphQL API
👀 Screenshots