-
Client is the frontend of the applcation. It is powered by React and Blockly.
-
Cms is the REST API and admin portal that powers the backend. It is powered by Node and Strapi.
-
Compile is an arduino compilier service. It is an unofficial fork of Chromeduino.
This project's dependencies are managed through yarn The following are the available scripts we can use with the client and server:
The development environment is comprised of three services managed by docker compose.
sc-client-dev
=> localhost:3000sc-cms-dev
=> localhost:1337sc-compile-dev
=> localhost:8080sc-db-dev
=> localhost:3306
To get started, simply
- Install docker
- Add strapi.sql to cms/
- Run
docker-compose up
TODO
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.