Skip to content
API developed in Spring, with JWT authentication
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
web
.gitignore
README.md
pom.xml

README.md

API example with authentication, developed in Spring Boot.

Can serve as a starter project for APIs with JWT authentication.

The API currently has the following endpoints;

/api/auth/signup - Signing up, receiving verification link by email.

/api/auth/signin - Signing in, returning a JWT bearer token.

/api/auth/verify/{token} - Verifying email by token.

/api/reset - Generating reset password token, sent by mail to user.

/api/reset/newpassword - Setting new password.

/api/user/{username} - Returning summary of a given username, e-mail and id excluded.

/api/user/me - Returning summary of currently logged in user, e-mail and id included

Authentication done with Spring Security and Json Web Tokens.

Backend consists of a MySQL database.

You can’t perform that action at this time.