/BlogApps

Blog Apps, Frontend with React.js & Backend Node.js & Express.js

Primary LanguageJavaScript

Blog-TDD app 📝

Build Status

LINK DEPLOY

Portofolio project Blog-TDD

  • Note: client-side development put in directory client-vue

Run: npm test

Stack-tech 🎯

back-end 🔧

  • 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

front-end 🎨

  • Bootstrap
  • Vue.js
  • SPA (Vuex & VueRouter)

RESTful API

RESTful API blog apps https://api.blog.iamsuperpowers.com/

Open Endpoints

Open endpoints require no Authentication.

  • Login : POST /api/login/
  • Create user : POST /api/users/register

Endpoints that require Authentication

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.

Current User related

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

Article related

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/