Object Oriented and Design Patterned JavaScript ES2015+ and Node.JS Stock Negotiations Project. It uses Express.JS as server side framework.
https://github.com/danvitoriano/negociacoes/projects/1
https://github.com/danvitoriano/negociacoes/issues
https://github.com/danvitoriano/negociacoes/wiki
-
master: FINAL PROJECT with WebPack
-
client: Basic JS project form to add negotiations
-
server: Add Node.js server and get local API negotiations
-
database: Post negotiations to local API and IndexedDB browser persistent
-
babel: Transpile JS
-
modules: ES6 Modules with Webpack and Babel
cd server
npm i
cd server
npm run start
Files at /server
folder.
It uses Express.JS as server side framework.
API:
GET: /negociacoes/semanalocalhost:3000/negociacoes/semana
GET: /negociacoes/anterior localhost:3000/negociacoes/anterior
GET: /negociacoes/retrasada localhost:3000/negociacoes/retrasada
POST: /negociacoes localhost:3000/negociacoes
Files at /client
folder.
localhost:3000
cd client
npm i
To transpile ES2015 Modules with Babel and bundle with Webpack, run:
Build
npm run build
Watch
npm run watch