Skip to content

fantix/authub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authub

The hub software for user authentication.

Dependencies

  1. EdgeDB Beta 1 or above
  2. Python 3.9
  3. Poetry

Getting Started

  1. Create an EdgeDB instance, assuming the instance name is "authub".

  2. Clone the repository and work from that directory for following steps.

  3. Install Authub with the standalone extra dependencies:

    $ poetry install --extras standalone
  4. Bring the EdgeDB schema to the latest:

    $ edgedb -I authub migrate
  5. Run the development server:

    $ authub dev
  6. Visit http://localhost:8000/docs for the interactive API documentation.

Development

When the data models written in Python are changed, run the following:

  1. Compile the models and update the EdgeDB SDL *.esdl files:

    $ authub compile-schema
  2. Generate a new EdgeDB migration revision:

    $ edgedb -I authub create-migration
  3. Verify the generated DDL *.edgeql file, add it to version control.

  4. Run the migration again:

    $ edgedb -I authub migrate

About

The hub software for user authentication.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages