Work in progress reimplementation of INJECT Frontend from Angular (formerly TTX) to React.
Monorepo of INJECT Frontend
Subrepos:
- frontend - Main repository hosting Vite-related code, main components specific to INJECT Frontend (sans Dashboard and soon Exercise Panel)
- graphql - Library for the communication with the GraphQL-based backend. Library is specifically made to easen development of GraphQL centric code to ensure higher consistency of queries.
- shared - Shared Library between all parts of the project containing functional and templating components
- tests - Service repo for testing typescript functions handling some algorithmic things
- backend - Submodule to an actually supported backend
## How to run
...
...
@@ -24,6 +32,13 @@ poetry run python manage.py runserver
# then after running backend, run frontend dev
yarn develop
# if building
# this step is mandatory, it compiles `graphql` and `shared` library
yarn prebuild
# this builds the `dist/` artifact from `frontend` repo.
yarn build
```
## Project QC Features
...
...
@@ -38,4 +53,5 @@ The repo is littered with various README.md and GUIDELINES.md files that dictate
- Generouted (allows for easier creation of router configuration)
- GraphQL Codegen (allows for automatic typing of GraphQL queries)