This project has been private forked from https://github.com/excalidraw/excalidraw
Go to https://excalidraw.com to start sketching.
Read their blog and follow the guides to learn more about Excalidraw and how to use it effectively.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
git clone git@gitlab.iwa.fi:teammeet/nepkin.git
Command | Description |
---|---|
npm install |
Install the dependencies |
npm start |
Run the project |
npm run fix |
Reformat all files with Prettier |
npm test |
Run tests |
npm run test:update |
Update test snapshots |
npm run test:code |
Test for formatting with Prettier |
ssh -v ubuntu@10.200.200.51
Private IP: 10.200.200.51
Public IP: 13.49.113.99
graph LR
U((User))
N3000(Nginx 3000)
N4000(Nginx 4000)
N5000(Nginx 5000)
NK[Nepkin]
NR[nepkin-room]
NJ[nepkin-json]
U --> N3000
N3000 --> NK
NK -- pub/sub --> NR
NR --- N4000
NK -- encrypt/decrypt --> NJ
NJ --- N5000
style NK fill:#9f6
https://nepkin-room.herokuapp.com
TBD
All events can be found in /src/components/App.tsx
-
onPointerMoveFromPointerDownHandler
-
onPointerUpFromPointerDownHandler
MainApp imports actions
MainApp imports actionManager
MainApp execute an action through actionManager by
this.actionManager.executeAction(<ActionComponent>);
Color config can be found in /src/colors.ts file.
Basically, Excalidraw is using open-source color scheme from open-color
Rendering element could be found in renderer/renderElement.ts
file
generateElementShape function