IndranilChutia / clientside-gql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 (you don’t need a replica)
    • Follow instructions to download the CLI and authenticate
    • 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:
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


Languages

Language:TypeScript 96.4%Language:JavaScript 3.2%Language:CSS 0.4%