Skip to content

A simple project to serve as an example of how to implement an JWT filter on Drogon framework.

License

Notifications You must be signed in to change notification settings

0rangeFox/Drogon-JWT-Filter-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drogon JWT Filter example

A simple project to serve as an example of how to implement an JWT filter on Drogon framework.


Endpoints


How to build the project

Requirements:

Everything you need to setup this example is here! Just follow what is written there and then you can come back here.

Build:

git clone https://github.com/0rangeFox/Drogon-JWT-Filter-example.git
cd Drogon-JWT-Filter-example
git submodule update --init
cd libraries/drogon/
git submodule update --init
cd ../../
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make && sudo make install

Execute:

Make an copy of config.json inside to build folder, and make your necessary changes and start the program.

Frequently Asked Questions (FAQ)

  • Q: When I try to compile this project give me error on CMakeLists telling OpenSSL wasn't found but I have it installed:
  • A: The solution is here.

About

A simple project to serve as an example of how to implement an JWT filter on Drogon framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published