Skip to content

Small project implementing a Kotlin API with Javalin that allows to manage users and subscriptions to users.

Notifications You must be signed in to change notification settings

Riwal9/POC-api-user

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API-USER created with Javalin : https://github.com/tipsy/javalin and Kotlin : https://kotlinlang.org/

Usages :

  • Handle users from a social network with subscriptions
  • You can create/modify/delete users or subscriptions

Installation : You'll need a .env file at the root of your app precising the database credentials, adress and port. The keycloak integration is a Work In Progress.

API routes :

  • GET /users : get all users
  • GET /users/:uuid : get one user identified by :uuid
  • PUT /users : update one user
  • DELETE /users/:uuid : delete one user identified by :uuid
  • GET /users/:uuid/subscriptions : get subscriptions from user identified by :uuid
  • GET /users/:uuid/subscriptions/:uuidSubscribedUser : get a specific subscription from user specified by :uuid
  • POST /users/:uuid/subscribe : subscribe one user to another user

About

Small project implementing a Kotlin API with Javalin that allows to manage users and subscriptions to users.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages