StanleyMasinde / express-blog

A simple blog project for personal practice

Home Page:https://stanleymasinde.github.io/express-blog/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

express-blog

Node.js CI CodeQL

A simple blog project for personal practice

Installation

  1. clone this repo
  2. cd express-blog && npm i
  3. npm start

Routes

Authentication

Path Method params
/auth/login POST email,password
/auth/register POST name,email,password
/auth/logout POST None

Blogs

Path Method params
/posts GET None
/posts POST title,body, date
/posts/:id GET None
/posts/:id PUT title,body, date
/posts/:id DELETE None

Testing

Run npm run test or yarn test to run tests

About

A simple blog project for personal practice

https://stanleymasinde.github.io/express-blog/

License:MIT License


Languages

Language:JavaScript 71.4%Language:Pug 28.4%Language:CSS 0.3%