Skip to content

apache/casbin-rust-actix-postgresql-simple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors