Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.88 KB

README.md

File metadata and controls

52 lines (36 loc) · 1.88 KB

High performance self-hosted and fully customizable authentication service

Last Updated Lines of Code Total Files

Disclaimer

  • ⚠️ The project is under very active development.
  • ⚠️ Expect bugs and breaking changes.
  • ⚠️ Make sure to always have a backup of your user data.

Note

You can find the Documentation here

Quickstart

  1. Clone EZAuth Repository (git clone https://github.com/JohnGrubba/ezauth)
  2. cd ezauth
  3. cp config/configtemplate.json config/config.json
  4. Edit Configuration under (config/config.json) Config Documentation
  5. mkdir config/email && cp config/emailtemplate/* config/email/
  6. Edit E-Mails under (config/email/*)
  7. Start EZAuth
docker-compose up -d

Developement

To enable a efficient development process, you can start the Service with hot reloading enabled. This will automatically restart the service when a file is changed.

docker compose -f .\docker-compose.dev.yml up -d --build

Testing

To be able to perform tests, that represent a real environment, the following technologies are used:

Those Libraries automatically get used instead of pymongo and redis when testing, to avoid the need of an additional Redis and MongoDB instance.

To run the tests, you can use the following command:

docker exec ezauth-api pytest