it is software, made up of bugs.
It is a C++/Drogon/Svelte/CockroachDB/Redis QnA web application. The main reason of writing it in C++ is speed and electricity saving. Just imagine the amount of electircity saved if all web apps were in C++. Humanity will have far better time handling environmental issues.
A piece of code is written once, modified few times, read many times and ran even more number of times. Thus performance matters.
CockroachDB has been chosen to scale horizontally and Redis for providing speed.
Svelte has been because of its simplicity and ease of use. Another UI can be implemented in parallel with this as backend is totally decoupled from Svelte.
Please read LICENSE carefully. At the bottom there are additional clauses. The license applies for all files in this repository unless file has a specific license mentioned.
- Be very fast but not necessarily fastest.
- Be minimalistic in UI and data collection. Do not generate unnecessary metadata. Usually web application generate metadata for no good reason.
- Built with C++/Drogon which is one of the fastest web frameworks. So the application can handle quite high load with moderate hardware. Also,it is fully asynchronous app.
- UI code is small, simple and snappy. Thanks to Svelte.
- Password is encrypted using award winner argon algorithm.
- Registration
- Login
- New topic creation
- Answering a topic
- Voting
- Accepting an answer
- Editing a topic
- Questions by tag
- Viewing and editing tag info.
- Implement Redis LRU cache.
- Imlpement Elasticsearch for searching questions.
- Implement reputation system.
- Implement badges.
- Implement more items on profile.
Check CMakeLists.txt
file in backend folder which tells what packages you will need.
For ui folder you need node js and just run npm i
and then you can build frontend.