This project show how we clone code and setup VSCode to work
a test project to see how monorepo should work
This is the folder structure:
.vscode/
| default.code-workspace
| local.code-workspace
docs/
supabase/
components/
| DirectedGraph/ (ReactJS lib)
| RichTextEditor/ (ReactJS lib)
| Icon/ (ReactJS lib)
| Banner/ (ReactJS lib)
utils/ (TypeScript lib)
| src/
| | getImageUrl
| | idString (createIdString, extractIdFromIdString)
| | subtractArray
| | supabaseClient
| | dal (getData, setData)
| index.ts
apps/
| syncvote/
| | webapp/ (ReactJS app)
| | service/ (Golang project)
| admin
| | webapp/ (ReactJS app)
votemachines/
| singlevote/
| | weblib/ (ReactJS lib)
| | web2/ (Golang lib)
| polling/
| | weblib/ (ReactJS lib)
| | web2/ (Golang lib)
| veto/
| | weblib/ (ReactJS lib)
| | web2/ (Golang lib)
| upvote/
| | weblib/ (ReactJS lib)
| | web2/ (Golang lib)
-
Instruction to setup Yarn workspace
-
Write a typescript library: link
-
Write a component library: link
- In the near future we would have to implement Storybook for better component development. This link would be helpful.