Skip to content

Mannj-nef/TITO-practice-js

Repository files navigation

[Build Status] link Web Demo

TIMELINE:

  • (9/3 - 20/3)

TECHNICAL

  • JavaScript
  • MVC
  • Json-server
  • axios
  • Parcel
  • Sass

TARGET:

  • Apply MVC pattenrn to this practive, study model-view-control-service use js to render dom, use json-server to fake api database, use axios to call api, use eslint, preattier, lint-staged, husky to format and clean code

CLONE

Open the terminal at the directory you want to install git clone git

INSTALLATION

Dillinger requires Node.js v10+ to run. Install the dependencies and devDependencies and start the server.

create file .env

BASE_URL=http://localhost:9999

new terminal

cd project-js
json-server --wath db.json --port 9999
cd project-js
npm i
npm start

Open on web: http://localhost:1234