Skip to content

Hendrixer/clientside-gql

Repository files navigation

Frontend Masters

This repo is a companion to the Client-Side GraphQL course on Frontend Masters.

Here's a link to the Course Notes

Getting Started

This course repository requires Node version 20+ and a TursoDB account. More details can be found in the course notes.

  1. Fork/Clone the repo
  2. Install the Dependencies with npm install
  3. Create a Turso DB account (free)
    • Follow the instructions to make a new DB
      • Create a new Group (default is fine) and choose a location
      • Create a new Database
    • Create a Database Token (Either through Turso website or the CLI)
      • Using Turso Website: Click "Create Database Token"
      • Using the CLI: Generate a token for your db with this command turso db tokens create [your db name]
  4. Create a .env file on the root and add these environment variables. If you need the URL, you can use the "Copy URL" button in the Overview tab on Turso:
TURSO_CONNECTION_URL="your turso db url"
TURSO_AUTH_TOKEN="your db token"
  1. Push the schema to your Turso DB with this command npm run db:push

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •