Skip to content

TalaikisInc/users-cubed-s3

Repository files navigation

Talaikis Ltd.

Users Cubed S3

This is full user management service API. as original version is easily extensible, this version is made for S3 instead of local hosts' json store.

Features

  • User registration, login, edit, destroy
  • Same CRUD for tokens
  • Minimal referral system
  • Account confirmations
  • Password reset
  • Internationalized

TODO

  • Social login
  • Finish phone confirm (+frontend part)
  • Finish async/await
  • Response caching
  • Penetration testing
  • Tests
  • Cleanup for old data in S3
  • Move to Lambda
  • add async queues for requests

Install

npm i
amplify init
amplify add storage
amplify push

Run

npm i
npm run start

Requirements

  • Passwords > 11 chars

Routes

There is only one '/' route that accepts only POST requests with defined actions. List of actions is listed on Postman collection.

Tests

npm run test

Deployment

Use slave_build.sh and slave_start.sh, data will be mounted on /opt/.data

Licence

GPL v3.0

Releases

No releases published

Packages

No packages published

Languages