Skip to content
This repository was archived by the owner on Jan 20, 2020. It is now read-only.

BytecodeAgency/NodeJS-Blog

Repository files navigation

NodeJS Blog API

Routes

All are /api/[route]

All are GET by default

POST routes are protected

  • posts
  • post/:id
  • post (POST)
  • authors
  • author/:name
  • author (POST)
  • status

Todo

  • Add TDD configuration
  • For testing add SQLite support
  • Create Restify/Express server
  • See if https://github.com/Vincit/knex-db-manager might be a viable option
  • Integrate Helmet or similar
  • Add authentication
  • Configure routing
  • Create documentation, API documentation using Swagger
  • Add performance testing script, maybe using https://k6.io/
  • Later on, maybe add CLI for creating admin users
  • Later on, add support for caching results
  • Later on, add a CLI/application for loading .md files into the database as posts
  • Make sure the application is available both as a NPM module and as a standalone service

Notes

  • Node ENVs: DEVELOPMENT, PRODUCTION, TEST

About

Node JS blog application that functions as an API between the database and a NodeJS application using blogposts.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors