Portofolio project Blog-TDD
- Note: client-side development put in directory
client-vue
Run: npm test
- RESTful API Using Expressjs, MongoDB (M-Lab), Mongoose
- TDD and Unit Test using Mocha & Chai
- Mochawesome for Reporting MOCHA REPORTER
- Instanbul Coverage (90%)
- Integration Test Using Travis-CI TRAVIS-CI LINK
- GCP Cloud
- Bootstrap
- Vue.js
- SPA (Vuex & VueRouter)
RESTful API blog apps https://api.blog.iamsuperpowers.com/
Open endpoints require no Authentication.
- Login :
POST /api/login/
- Create user :
POST /api/users/register
Closed endpoints require a valid Token to be included in the header of the request. A Token can be acquired from the Login view above.
Each endpoint manipulates or displays information related to the User whose Token is provided with the request:
- Show user detail :
GET /api/users/me
- Delete user token :
DELETE /api/users/logout
Endpoints for viewing and manipulating the articles that the Authenticated User has permissions to access.
- Show Accessible Article :
GET /api/articles/
- Create Article :
POST /api/articles/
- Show An Article :
GET /api/articles/:id/
- Update An Article :
PATCH /api/articles/:id/
- Delete An Article :
DELETE /api/articles/:id/