tmdb-watchlist-edgedb
This app uses TMDB to retrieve a list of Now Playing movies. You can add/remove movies to track which ones you’ve watched. There’s a “fake” auth flow as well to show navigation as well as tRPC middleware.
Simple app that showcases the following technology.
Expo + tRPC + EdgeDB + NextJS + Nx + zod + react-hook-form + solito
Setup
Add your database and TMDB bearer token (instructions here) to the .env
file.
This also showcases access control for the user’s watchlist items!
Install EdgeDB for your system – https://www.edgedb.com/install
Run edgedb project init
in the root of the project to setup the existing schema in a new instance.
Run yarn edgedb:codegen
to generate the TypeScript client library.
To check out your data, run, run edgedb ui
and check it out!
To be able to see your data, make sure to add the UID whose data you’d like to see to the globals section at the top of the page.
Running the App
Run the API
nx serve next-app
Run the App
nx run-ios mobile