This project requires a server to be running, it can be found here Graphql-server-prisma
Auth0 single page app
$ yarn
Then you can start the development server with.
$ gatsby develop
This requires gatsby to be install globally, guide can be found here Quick Start Gatsby
- touch a .env.development and a .env.production in root dir
Key | Value |
---|---|
AUTH0_DOMAIN | your domain |
AUTH0_CLIENTID | your clientId |
AUTH0_CALLBACK | http://localhost:8000/callback |
TMDB_API_KEY | The movie database api key |
RADARR_API_KEY | Radarr Api key |
RADARR_API_ENDPOINT | Radarr endpoint |
RADARR_ROOT_FOLDER_PATH | Folder where movies are added |
PUSHOVER_TOKEN | Pushover Api Key |
PUSHOVER_USER_KEY | Pushover user key |
PATH_PREFIX | for production |
When ready for production stop the development server and run
gatsby build --prefix-paths # for setting prefix in gatsby-config.js
or
gatsby build
View the production site locally. Run:
gatsby serve --prefix-paths
More info in this can be found here
constants you can find all static contants e.g. routes. Here you can change your prisma and radarr endpoint.
- Landing Page for users that is not logged in. It would be nice to create something static here, with images of movies.
- Navbar is just a simple nav. More complex navbar with dropdown etc.
- Create a account page where user can see the requested movies. I have a branch for this.
- In account page users should be able to turn of and on pushnotifications. This is already implemented on the server.