Skip to content

shanel262/concorda

 
 

Repository files navigation

Concorda

Concorda: User management system

Demo system

This is the Concorda project. It is a user management system built using Node.js. It is a micro-service designed to be used in tandem with other micro-services, as with the NodeZoo project. There is an in-depth demo configuration available for the system, to learn more go here.

Running

To run the server,

  1. Run npm install to install all dependencies
  2. Copt config/config.example.js to config/config.production.js and configure DB.
  3. Run npm run build to build the project
  4. Run npm run start to create a deploy and server on port 3000

Also you can watch the files for changes and automatically rebuild the sources by running npm run watch in a different terminal.

Documentation

This project is in it's infancy, documentation will come after stability.

Server API

Authorization

Method URL Description Documentation
POST /auth/change_password Change password https://github.com/senecajs/seneca-auth
POST /auth/register Register user and login automatically https://github.com/senecajs/seneca-auth
POST /auth/confirm Confirm login https://github.com/senecajs/seneca-auth
GET/POST /auth/logout Logout current user https://github.com/senecajs/seneca-auth
POST /auth/create_reset Create reset password token https://github.com/senecajs/seneca-auth
POST /auth/load_reset Load reset token https://github.com/senecajs/seneca-auth
POST /auth/execute_reset Execute reset password https://github.com/senecajs/seneca-auth
GET/POST /auth/user Get current user data https://github.com/senecajs/seneca-auth
POST /auth/update_user Update current logged in user https://github.com/senecajs/seneca-auth
GET/POST /auth/login Login https://github.com/senecajs/seneca-auth

User management

Method URL Description
POST /api/user/{user_id}/session/close Close sessions for selected user
GET /api/user Get list of users
GET /api/user/user_id Load user by id
POST /api/user Create an user, different from the one logged in
PUT /api/user Update an user, different from the one logged in
DELETE /api/user/{user_id} Delete an user

Contributing

The Concorda encourages open participation. If you feel you can help in any way, be it with documentation, examples, extra testing, or new features please get in touch.

License

Copyright (c) 2015, nearForm and other contributors. Licensed under MIT.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 51.0%
  • CSS 48.6%
  • HTML 0.4%