Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 922 Bytes

README.md

File metadata and controls

50 lines (33 loc) · 922 Bytes

app

A helpful React TypeScript cheatsheet: React Typescript Cheatsheets

Getting Started

1. Clone repository and install dependencies

Clone the repository:

git clone git@github.com:syllabus/app.git syllabus

Install dependencies and verify project:

cd syllabus
yarn

2. Setup .env files

In each folder (app and api), copy the .env(.development).example to .env(.development).

In the app folder, add the following value:

REACT_APP_API_URL=http://localhost:4000/graphql

In the api folder, add the following values:

PRISMA_SECRET=testing123
APP_SECRET=jwtsecret123

3. Start API, app, and graphql generation

yarn dev

Tools