All Projects → stalary → UserCenter

stalary / UserCenter

Licence: MIT license
Personal open source user center

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to UserCenter

auth-flow-react-apollo-saga
Full stack login/register flow with React, Apollo, Redux, Redux-saga and MongoDB.
Stars: ✭ 22 (-21.43%)
Mutual labels:  login, register
spring-boot-mongodb-security-angular8
Spring Boot, Security, MongoDB, Angular 8: Build Authentication
Stars: ✭ 17 (-39.29%)
Mutual labels:  login, register
yoti-php-sdk
The PHP SDK for interacting with the Yoti Platform
Stars: ✭ 22 (-21.43%)
Mutual labels:  login, register
Apriliya-Api
Simple Web API with user authentication
Stars: ✭ 19 (-32.14%)
Mutual labels:  login, register
logSys
PHP Secure, Advanced Login System
Stars: ✭ 80 (+185.71%)
Mutual labels:  login, register
user login and register
user login and register system in django
Stars: ✭ 43 (+53.57%)
Mutual labels:  login, register
yoti-java-sdk
The Java SDK for interacting with the Yoti Platform
Stars: ✭ 13 (-53.57%)
Mutual labels:  login, register
vue-koa2-login
🍥 Vue + Koa2 实现前后端注册登录流程
Stars: ✭ 23 (-17.86%)
Mutual labels:  login, register
RN-login-register-screen
Usage of login / sign-in screen with register / sign-up and forget password screen for authentication in react-native with navigation and Async local storage of input values
Stars: ✭ 32 (+14.29%)
Mutual labels:  login, register
ionic-login-component
Free sample of Premium Ionic Login Component
Stars: ✭ 17 (-39.29%)
Mutual labels:  login, register
Node-js-functionalities
This repository contains very useful restful API's and functionalities in node-js containing many important tutorial code for mastering node-js, all tutorials have been published on medium.com, tutorials link is given below
Stars: ✭ 69 (+146.43%)
Mutual labels:  login
ProgramUpdater
PUF - Program Updater Framework. A library to easier the task of program updating
Stars: ✭ 14 (-50%)
Mutual labels:  update
np
Netnr Project
Stars: ✭ 50 (+78.57%)
Mutual labels:  login
SimplePHP
A small query builder project designed to assist daily routines and speed up the process of communicating with the database.
Stars: ✭ 14 (-50%)
Mutual labels:  update
awesome-flutter-ui
10+ flutter(android, ios) UI design examples ⚡ - login, books, profile, food order, movie streaming, walkthrough, widgets
Stars: ✭ 848 (+2928.57%)
Mutual labels:  login
d00r
Simple directory brute-force tool written with python.
Stars: ✭ 35 (+25%)
Mutual labels:  login
login
Add-on implementing User Login, Registration, Management and Password
Stars: ✭ 24 (-14.29%)
Mutual labels:  login
ReactSignupLoginComponent
The React SignupLogin Component is a drop in login/register/forgotPassword component to speed up development.
Stars: ✭ 30 (+7.14%)
Mutual labels:  login
twitivity
🐍 Twitter Accounts Activity API Client Library for Python
Stars: ✭ 49 (+75%)
Mutual labels:  register
Port-Able-Suite
🌐 Manager for portable applications
Stars: ✭ 35 (+25%)
Mutual labels:  update

UserCenter

控制台

structure

架构图

A easy login/register/update user center.

you can use it to finish register or login or update.

You have to tell me that you need to use it and I need to apply for a project id for you.

Or you can use the code build your own user center.

you can use it by token(need save in header or parameter)

I can provide the log when you need it

deploy way

  1. mvn clean install & java -jar target/usercenter-0.1.jar
  2. docker run --rm --name usercenter -p 7200:7200 -d stalary/usercenter --com.stalary.lightmq.consumer=false

technology

  1. use three machines to provide service
  2. use lightmq to produce async log
  3. use mysql save data
  4. use spring boot build this project

How to use it

go console register

go easydoc use interface

use /facade/project input your project name it will return:

"data": {
    "projectId": 1,
    "key": "5c175866c8"
  }

please save projectId and key in your db or cache

Token

use /token/register to register,at least you input

{
  "password": "123456",
  "projectId": 1,
  "remember": false,
  "username": "hawk"
}
key: 5c175866c8

if you need role definition,you can input role when you register,The default is 0

it will return

"data": "c970209b8df0419c6712cb96f1fbc58dde9bedd233f3e79c069b4be1eeaafee4"

you can get user information by token

please use /facade/token

you need input your token and key.

it will return

"data": {
    "id": 1,
    "createTime": "2018-03-27T03:25:20.000+0000",
    "username": "stalary",
    "password": "abb8acd50d72f5961b7440b826cdaa3b2a9129b2",
    "projectId": 1,
    "remember": false
  }

if you need get your project every user statistics

you can use /facade/statistics

you will receive

"data": [
    {
      "id": 1,
      "createTime": "2018-03-26T17:59:53.000+0000",
      "userId": 1,
      "loginCount": 5,
      "city": "[{\"address\":\"北京\",\"count\":5}]",
      "lateLoginTime": "2018-03-27T05:29:12.000+0000"
    },
    {
      "id": 2,
      "createTime": "2018-03-27T03:42:11.000+0000",
      "userId": 2,
      "loginCount": 7,
      "city": "[{\"address\":\"北京\",\"count\":6},{\"address\":\"济南\",\"count\":1}]",
      "lateLoginTime": "2018-03-27T05:23:19.000+0000"
    }
  ]

The ways to login

  • use /facade/token get user information save your cache
  • use /facade/token when you need user information

Developed by stalary and hawk

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].