npm run dev:backend
We have multiple run options:
npm run dev:fe-vite
npm run dev:fe-next
docker compose up -d --force-recreate mono --build
http://localhost:4000/
http://localhost:5173
- Apollo Explorer:
http://localhost:3000/api/graphql
- Client:
http://localhost:3000
mkdir backend
npm init --yes && npm pkg set type="module"
npm i --save @apollo/server graphql
mkdir src
touch src/index.ts
npm i --save-dev typescript @types/node
touch tsconfig.json
npm create vite frontend --template react-ts
npm i --save graphql-hooks graphql