hactivpress adalah sebuah web-apps untuk blogging dimana akan ada 2 collections yaitu users dan articles
- Di dalam folder server lakukan hal sebagai berikut :
clone the repository first
npm install
node app.js
- Di dalam folder client lakukan hal sebagai berikut :
npm install
npm run dev
open localhost:8080
METHODS | URL | KET |
---|---|---|
DELETE | /api/articles/:id | delete by id |
GET | /api/articles | get all data |
POST | /api/articles | post data |
PUT | /api/articles/:id | update data |
GET | /api/articles/:id | get data by id |