drogonframework / drogon

Drogon: A C++14/17/20 based HTTP web application framework running on Linux/macOS/Unix/Windows
MIT License
11.62k stars 1.12k forks source link

Create a Drogon Blog Example (Frontend) #858

Open rbugajewski opened 3 years ago

rbugajewski commented 3 years ago
  1. Create an example project which resembles a blog as an introduction for new Drogon users.
  2. Extend the documentation to contain a small, comprehensive blog example tutorial.
rbugajewski commented 3 years ago

Authentication in some form should be part of the example project as we currently have many questions regarding this topic.

marty1885 commented 3 years ago

Just for documentation purpose. The login_session example shows how one can do authentication in a classic form/server side rendering style. But the code is not production ready (ex. Using MD5 for password hashing, no DB access, etc)

https://github.com/an-tao/drogon/blob/b654e35e51907281d6b24d214577f759ff05e96c/examples/login_session/main.cc#L33-L59