The frontend is built on top of React and Blockly. It will be deployed in the cloud and distributed with a CDN.
The backend is built on top of a headless CMS. It will be deployed in the cloud and utilize various services.
This project's dependencies are managed through yarn (this must be installed) using yarn workspaces. This allows both client and server folder dependencies to only depend on one package-lock file, reducing possible dependency version issues. From the project root running the command yarn
will install dependencies for both the client and server.
The following are the available scripts we can use with the client and server:
Runs both the client app and the server app in development mode.
Open http://localhost:3000 to view the client in the browser.
Runs just the client app in development mode.
Open http://localhost:3000 to view the client in the browser.
Runs just the server in development mode.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
Coming soon...
Ideally, we want our flow to resemble this. Master and develop are locked for direct commits. All commits must be made to a non-protected branch and submitted via a pull request with one approving review.
master
- Deployed version of the applicationdevelop
- Working version of the applicationfeature/<scaffold>-<feature-name>
- Based off of develop- ex.
feature/server-strapi
- ex.
hotfix/<scaffold>-<fix-name>
- Based off of master- ex. hotfix/client-cors
Before submitting a pull request, merge the target branch into the working branch to resolve any merge conflicts. Include a description of the changes made.