This repository consists 2 packages of backend
with ApolloServer and frontend
with ApolloClient as a monorepo.
Jump to docs
directory
Transpile TypeScript code to Node.js
yarn workspace backend compile
Run the code
yarn workspace backend start
- Development Environment
- create
.env
file like shown below
CDN_ENDPOINT=http://localhost:3000/graphql
LOG_LEVEL=DEBUG
- Run webpack-dev-server
./packages/frontend/dev.sh start
- Production Environment
-
Set up Environment values like
.env
-
Bundle code with Webpack
yarn workspace frontend compile --config --config webpack.prod.js