/blog-api

Blog API backend

Primary LanguageJavaScriptMIT LicenseMIT

blog-api

For more information about this project visit The Odin Project.

Features

  • User and admin registation
  • User and admin authentication
  • CRUD posts
  • CRUD post comments
  • Publish and unpulish posts

.env

  • DEV_DB_STRING
  • JWT_SECRET
  • ADMIN_PASSCODE=adminPasscode123

Built With

  • Node.js/express
  • Passport
  • Passport-local
  • Passport-jwt
  • MongoDB/Mongoose

My Frontends for this API

License

MIT