Xata Movie Database (XMDB) was built with Xata using Next.js and TypeScript to showcase Xata can be used by large databases (over 9 million records).
🚧 Under Heavy Development
- Typo-Tolerant Full-Text Search.
- Aggregations.
- Type-Safe SDK/ORM (schema-based types generation).
- Next.js 13 with Server-Components.
- Experimental App Directory feature.
- Turbopack Compatible.
- Tailwind CSS.
To have your own local instance of this app, you will need 2 API keys, and your deployment URL.
XATA_API_TOKEN
: to connect your own Xata workspace.OMDB_API_TOKEN
: used as fallback to complement whenever there's missing data in our tables.VERCEL_URL
: popullated by Vercel, on your local environment it’s your local server url (https://localhost:3000
by default).
Once you have those keys, you can create your own .env
or .env.local
as shown in .env.template
.
⚠️ Remember to never share this tokens in unsecured connections.
- Run the
dev
task to compile and serve it using Webpack. - Run
turbo:dev
to compile and serve it using Turbopack.
⚠️ Turbopack does not support PostCSS, so it is important to replaceglobals.css
import withdist.css
.