You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
5 years ago | |
|---|---|---|
| Day1Exercise | 5 years ago | |
| FormValidation | 5 years ago | |
| JavaScriptBasics | 5 years ago | |
| asignmentQ4and5solution | 5 years ago | |
| assignmentQ1Solution | 5 years ago | |
| chart1 | 5 years ago | |
| chart2 | 5 years ago | |
| chart3 | 5 years ago | |
| chart4 | 5 years ago | |
| graphics | 5 years ago | |
| jsGraphics | 5 years ago | |
| jsObjectsAndJSON | 5 years ago | |
| playground | 5 years ago | |
| .gitignore | 5 years ago | |
| README.md | 5 years ago | |
| index.html | 5 years ago | |
| index2.html | 5 years ago | |
| index3.html | 5 years ago | |
| myscript.js | 5 years ago | |
| myscripts2.js | 5 years ago | |
| mystyle.css | 5 years ago | |
| mystyle2.css | 5 years ago | |
README.md
Developer Kit Day1
Developer Kit : Frontend
Focus
- HTML
- CSS
- Javascript
Tools
- Visual Studio Code
- Ubuntu 20.04
// to install from Snap store $ sudo snap install --classic code // to run vscode $ code . - NodeJS
Visual Studio Code Extension
- Live Server
- Debugger for Chrome
Debugger
- add
debuggerto code to stop and debug at chrome - VS Code Debugger
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
$ npm i bootstrap- index.js
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"