Skip to content

EnergyConsumptionOptimizer/user-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

357 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User Service

License Version

The User Service is responsible for managing admin and household user accounts, as well as handling user authentication and authorization.

Technologies Used

Node.js Express JSON Web Token

Database

MongoDB

Infrastructure

Docker

DevOps

GitHub Actions Gradle Docker Hub Semantic Release Semantic Versioning Conventional Commits Renovate SonarCloud

REST API Endpoints

Authentication

  • POST /api/auth/login
  • POST /api/auth/logout
  • POST /api/auth/refresh
  • GET /api/auth/verify

Users

  • GET /api/users/:id
  • PATCH /api/users/:id/password

Household Users

  • GET /api/household-users
  • POST /api/household-users
  • PATCH /api/household-users/:id/username
  • DELETE /api/household-users/:id

Admin

  • POST /api/admin/reset-password

Internal - Authentication

  • GET /api/internal/auth/verify
  • GET /api/internal/auth/verify-admin

Internal - Users

  • GET /api/internal/users/:username

Documentation

Documentation of the typescript code base can be found at the typedoc.

Authors

About

E.C.O. user service

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages