https://github.com/madi-s/chi-vs-flask
https://github.com/madi-s/chi-vs-flask
chi flask go python web
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/madi-s/chi-vs-flask
- Owner: Madi-S
- Created: 2024-08-11T07:04:08.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-11T07:26:05.000Z (about 1 year ago)
- Last Synced: 2025-04-04T01:18:43.459Z (6 months ago)
- Topics: chi, flask, go, python, web
- Language: Go
- Homepage:
- Size: 2.67 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# chi-vs-flask
## Goal
Comparison of the same projects but written in different languages.
The project itself is a simple kinda-REST-like url shortener application.
The programs are written in Go using Chi module and in Python using Flask module.
In essence, we should conclude when and why we should use either tool as we examine their features and pitfalls in the development of url shortener.
## Words to mention
Altough the comparison might be unfair due to the specifics and narrow focus of such a simple web application, this simple project covers the majority of features developers use in larger projects but at a scale: routes, routers, middlewares, auth, body parsing, request and response handling, tests, database connector, utility functions, logging, schemas/interfaces, config setup, etc.
Nevertheless, it's a matter of taste despite the deep analysis conducted g O_o