Skip to content

casbin-rs/actix-postgresql-simple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Casbin with Actix & PgSQL

A simple example, using Actix web, diesel-adapter and Postgresql.

Prerequisite

You need to have docker and docker-compose commands installed.

Run

Run make to setup and run the application.

Then open http://127.0.0.1:1080/?name=casbin, it should say OK which can mean you have access!

If you change the name to anything else, it would return a 403 response with Forbidden message.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published