Public Repository

Last pushed: 7 months ago
Short Description
This is a lightweight API manage user accounts in a Mongodb with JWT
Full Description

User Account API

This is a lightweight API to create and manage user accounts and profiles in a Mongodb. The API uses authentication via JWT. Source code available on Github.

Environment Variables

  • PORT - set new PORT
  • HOST - set host string for the documentation on api
  • DATABASE - set database endpoint if hosting your own mongodb
  • SECRET - is secret value to JWT creation

Example Run

docker run -p 8080:8080 -e DATABASE="database_url" -e SECRET="supersecret" holmes89/user-profile-api

Docker Pull Command
Owner
holmes89