markusvaikjarv / blog_api

Blogging API with JWT-based authentication system in TypeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blog_API

Blogging REST API with JWT-based authentication system in TypeScript. Uses Express, SQLite on the backend, Jest with supertest for integration tests.

Currently implemented:

  • Creating an account (/user/register)
  • Logging in and responding with an access_token
  • Secure routes that require authorization (/create/posts)
  • Authorization middleware that verifies and decodes the token, extracts information from JWT payload
  • Integration tests
  • Configured to run with TypeScript and compile code/restart Node at every save

not finished yet

About

Blogging API with JWT-based authentication system in TypeScript

License:The Unlicense


Languages

Language:TypeScript 99.3%Language:JavaScript 0.7%