Lerna monorepo to contain all polyratings related code
- frontend - Frontend react app deployed at https://polyratings.dev
- backend - Backend typescript app deployed on Cloudflare Workers
- cron - nightly job that syncs data between environments as well as backs up the professor list to a separate git repo
- eslint-config - shared eslint config that is enforced in all other packages
Install top level JS dependencies
npm install
This will install lerna and all of the dependencies for all of the sub packages and sym link dependent packages.
Then run:
npm run build
Finally:
npm run start:local
Note you can run
npm run start:dev
if you have access to the cloudflare account to use data stored in the dev KV
This will start the local hot reload server for the frontend and backend. Follow the individual package READMEs for specific package information.