Skip to content

This application enable you Create a JSON and Invalidate it when ever you wish without waiting for the token to expire. You can play with it here:

Notifications You must be signed in to change notification settings

victorsteven/manage-jwt

Repository files navigation

CircleCI

Clone

  • Clone this project to your local machine https://github.com/victorsteven/manage-jwt.git

Heroku App

Application was deployed to Heroku. Use public URL https://manage-jwt.herokuapp.com with API endpoints.

Setup

  • Add your database details in the .env file.

  • Running Application

    Run the command below

    $ go run main.go
  • Use http://localhost:8888 as base url for endpoints

API Endpoints

METHOD DESCRIPTION ENDPOINTS
POST Register/Signup /user
POST Login /login
POST Create a todo /todo
POST Logout /logout

Tests

  • Run test for all endpoints

    run the command below(ensure that your test details is setup in the .env file)

    $ go test ./...

Author

About

This application enable you Create a JSON and Invalidate it when ever you wish without waiting for the token to expire. You can play with it here:

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published