make some blog website from scratch using nodejs, express, mongoDb, vue
membuat program blogging sederhana menggunakan express sebagai server, mongoDb sebagai databasenya dan vue sebagai front-end nya.
- npm install
- npm start in server side
- npm run dev in client side
- open your browser and type : localhost:8080 or you will automatically open the browser by doing step 3
- get data articles using GET localhost:3000/api/articles
- post data articles using POST localhost:3000/api/articles
- update data articles using PUT localhost:3000/api/articles/:id
- delete data articles using DELETE localhost:3000/api/articles/:id