An open API service indexing awesome lists of open source software.

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

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