diff --git a/README.md b/README.md index 181187e..9397859 100644 --- a/README.md +++ b/README.md @@ -30,3 +30,55 @@ Developer Kit : Frontend * add `debugger` to code to stop and debug at chrome * [VS Code Debugger](https://code.visualstudio.com/docs/editor/debugging) + +## Prepare Project +* ReactJS view is coded in xml markup and compiled using babel to plain R +React code + +### Frontend with ReactJS (Client) +* Packages + + create-react-app + ``` + $ npm -g install create-react-app + ``` + + Create project "frontend_client" using React Framework code + ``` + $ npx create-react-app frontend_client + ``` + + Start the client + ``` + $ cd frontend_client + $ npm start + ``` + + Use Browser to browse "http://localhost:3001" + + Misc : bootstrap css component for styling + ```sh + $ npm i bootstrap + + ``` + + index.js + ```javascript + import 'bootstrap/dist/css/bootstrap.css' + ``` + + VScode Extension + + Simple React Snippet + + Debugging : Chrome React Developer Tool Extension + +### Backend with ExpressJS (Server) +* Packages + + express + ``` + $ npm install -g express-generator + ``` + + Create project "backend_server" using Express Framework code with pug (Jade) view + ``` + # express --view=pug backend_server + ``` + + Start the Server + ``` + $ cd backend_server + $ npm start + ``` + + Use Browser to browse "http://localhost:3000" + + diff --git a/chart4/svgChart3.html b/chart4/svgChart3.html index 2beae12..e6d0dca 100644 --- a/chart4/svgChart3.html +++ b/chart4/svgChart3.html @@ -1,33 +1,26 @@ +
+ - - - - - - - - - + .arc path { + stroke: #fff; + } + .title { + fill: green; + font-size: 24px; + font-weight: italic; + } + + + + + + +