Code Monkey home page Code Monkey logo

user-manager-neo4j's Introduction

User manager (using Neo4J)

pipeline status coverage report Artifact Hub

A simple user management and authentication service built around a Neo4J database

Project page

API

Route Method query/body Description
/ GET - Show application configuration
/users GET limit Get the list of users
/users POST {username, password} Creates a user
/users/{user_id} GET - Get the user with the given user ID.
/users/{user_id} DELETE - Delete user with the given user ID.
/users/{user_id} PATCH new user properties Update user with the given user ID.
/users/{user_id}/password PUT/PATCH {new_password, new_password_confirm} Update the password of user with the given user ID.
/auth/login POST username, password Login, i.e. exchange credentials for a JWT

Note: To target the user currently logged in, use 'self' as ID

Environment variables

Variable Description
NEO4J_URL The URL of the Neo4J instance
NEO4J_USERNAME The username for the Neo4J instance
NEO4J_PASSWORD The password for the Neo4J instance
ADMIN_USERNAME The username for the administrator account, defaults to 'admin'
ADMIN_PASSWORD The password for the administrator account, defaults to 'admin'
JWT_SECRET Secret used to sign Tokens
SMTP_HOST Host of the SMTP server
SMTP_PORT PORT of the SMTP server
SMTP_USERNAME Username for the SMTP server
SMTP_PASSWORD Password for the SMTP server
SMTP_FROM E-mail from

user-manager-neo4j's People

Contributors

maximemoreillon avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.