- React Router
- Auth
- CI/CD
- Server does not reload when files change (esbuild serverless plugin)
The following can be run with [xc
], eg. xc build
.
Setup ensures that required configuration placeholder files are present and installs dependencies.
pnpm install
cp ./packages/client/.env.local.example ./packages/client/.env.local
cp ./packages/server/.env.local.example.yml ./packages/server/.env.local.yml
Install dependencies and start both frontend and backend processes
pnpm install
pnpm run --filter server prisma:generate
pnpm run dev
Build and deploy the front end client
pnpm install
rm -rf packages/client/dist
pnpm run --filter client build
aws s3 sync packages/client/dist "$CLIENT_S3_BUCKET"/ --delete
# TODO: invalidate CDN
Build and deploy the lambda backend
pnpm install
pnpm run --filter server deploy
[tea/cli
] will automagically make these available to your environment.
Project | Version |
---|---|
nodejs.org | =18.16.0 |