Welcome! This is Universal Codes!
This is a responsive web application over a GraphQL API.
It is built using Typescript and Rust, with a React Frontend and a DGraph database. The code is heavily 'borrowed' Notify
The test framework is jest; functional areas are separated into packages and managed with lerna
yarn install
yarn load-data
yarn start-backend
yarn start-frontend
yarn test
yarn test-frontend
yarn test-backend
yarn test-integration
yarn generate
We will need to make some updates to our release scripts since the code rearrange, and for the new frontend, but we'll cross that bridge when we get there :)
The prepare
script enables Husky, which we use for our git hooks. It only needs to be run once to be configured.
The prepare
script should run automatically on post-install (after yarn install
). If need be, you can also run it manually with yarn prepare
.
master
branch - is the stable release branchdevelop
branch - the main development branchWhen developing, create an issue first then a branch based on the issue number. Current practice is to use the format #[issue number]-some-description
for the branch name. When ready, create a PR which targets develop
and when approved, merge to develop
. We aim to review PRs promptly and keep the PR list as low as possible as a kindness to other developers ( and reduce merge hell! )
There is also a extensive wiki which we may need to update the live system.