https://github.com/martishin/movies-db
User editable database for movies and TV shows, built using React.js on the frontend and Go on the backend
https://github.com/martishin/movies-db
eslint example-project go go-chi go-test golang graphql jest jwt pgx postgresql prettier reactjs reactjs-golang rest-api tailwindcss tmdb-api typescript vite
Last synced: 8 months ago
JSON representation
User editable database for movies and TV shows, built using React.js on the frontend and Go on the backend
- Host: GitHub
- URL: https://github.com/martishin/movies-db
- Owner: martishin
- Created: 2023-11-12T02:38:29.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-30T09:04:57.000Z (almost 2 years ago)
- Last Synced: 2025-01-01T21:28:14.582Z (10 months ago)
- Topics: eslint, example-project, go, go-chi, go-test, golang, graphql, jest, jwt, pgx, postgresql, prettier, reactjs, reactjs-golang, rest-api, tailwindcss, tmdb-api, typescript, vite
- Language: TypeScript
- Homepage: https://movies-db.martishin.com/
- Size: 551 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MoviesDB
Website with information about movies, using *React.js* on the frontend and *Go* on the backend.
You can explore existing movies on the [website](https://movies-db.martishin.com/) and even register and add a new movie to the Database 😃
![]()
![]()
## 🚀 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