/reactathon-lunch-and-learn

Add a new feature to your Next.js app with Xata's new branch workflow

Primary LanguageTypeScript

Welcome to Xata's Reactathon Lunch and Learn!

Today we're going to take the new Xata workflow for a spin, improving the Database Experience of your Deploy preview workflow inside of a Next.js app deployed to Vercel.

Here's a link to the project doc we'll be working out of, but to get the project running locally:

1. Install the Xata CLI

    npm install -g xata-cli

2. Authenticate your Xata account in the cli

    xata auth login

3. Clone the repo

    npx degit https://github.com/domitriusclark/reactathon-lunch-and-learn project_name

3. Install dependencies

    npm install

4. Upload your schema to Xata and create your database

    xata schema upload xata.schema.json

5. View DB in browser & generate some random data (100 entries is good enough)

    xata browse

6. Run the app locally

    npm run dev