Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
github.com/CoderVlogger/go-web-frameworks
Example web application projects with top popular and recently active Go lang web frameworks and toolkits.
I am implementing the same features in all frameworks and compare them occasionally.
Currently checking:
This repository is a monorepo, which means it contains all the packages in the same repository.
In the root directory, there is a folder for each web framework. These folders contain the most recent state of the demo project for a given framework. For example, directory fiber is the current final state of the project for the Fiber web framework.
Additionally, in _step_by_step and _steps_by_topics directories, you can final tutorial steps grouped by framework and topics accordingly.
Additionally,
Check [STRUCTURE.md][] for information about the Go project layout for each demo app.
List of checked features:
Additionaly, some examples with:
Feature | gin | echo | iris | fiber | micro | goa | gorilla |
---|---|---|---|---|---|---|---|
Final Project Structure | ⏳ | 👷🏼♂️ | ⏳ | 👷🏼♂️ | ⏳ | ⏳ | ⏳ |
"Hello, World!" and simple JSON response | ⏳ | ✅ | ✅ | ✅ | ⏳ | ⏳ | ⏳ |
CRUD JSON API for the example entity | ⏳ | ✅ | ✅ | ✅ | ⏳ | ⏳ | ⏳ |
Paging and error handling | ⏳ | ✅ | ✅ | ✅ | ⏳ | ⏳ | ⏳ |
Parsing query params | ⏳ | ✅ | ✅ | ✅ | ⏳ | ⏳ | ⏳ |
Accepting and parsing form data | ⏳ | 👷🏼♂️ | 👷🏼♂️ | ⏳ | ⏳ | ⏳ | ⏳ |
Exposing static assets via an endpoint | ⏳ | ✅ | 👷🏼♂️ | ⏳ | ⏳ | ⏳ | ⏳ |
Building website pages with templates | ⏳ | ⏳ | 👷🏼♂️ | ⏳ | ⏳ | ⏳ | ⏳ |
MVC Pattern (model, view, controller) | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ |
Authentication and Authorization | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ |
I host live streams on YouTube, Twitch, and Facebook Watch about building this project. Follow me on Twitter for announcements.
Three is also a dedicated blog post where I gather all related tutorials and learning materials in one place. Learn more: Go Web Frameworks and Toolkits
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.