hord
Manage data in Go with a simple key-value interface supporting various databases. (by madflojo)
babyapi
A Go CRUD API framework so simple a baby could use it. (by calvinmclean)
hord | babyapi | |
---|---|---|
2 | 4 | |
15 | 83 | |
- | - | |
8.1 | 9.1 | |
13 days ago | 7 days ago | |
Go | Go | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hord
Posts with mentions or reviews of hord.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-02.
-
The Easiest Way to Create a REST API With Go
In an effort to provide actual persistent storage out of the box, the babyapi/storage package uses madflojo/hord to support a variety of key-value store backends. Additionally, babyapi/storage provides helper functions for initializing the hord client for Redis or file-based storage.
-
How I Learned Generics in Go
Determined to implement generics and delete some lines of code, I turned my sights to the storage layer of my application. I designed my storage around key-value pairs since I started by storing resources in YAML files. This eventually evolved to use madflojo/hord to interact with key-value data stores like Redis. The function to read a *pkg.Garden from storage looks like this:
babyapi
Posts with mentions or reviews of babyapi.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-30.
-
Let's Talk About REST...
Now this is the part where I tell you about a library I created, babyapi, and how it makes all of this tedious REST stuff easy!
-
Run Go + HTMX in the Cloud with Acorn
The availability of app platforms like Acorn and easy-to-use libraries like babyapi take care of the boring and tedious parts of software engineering and let you focus on the things that interest you. Try them out for yourself and let me know what you have any feature requests or issues with babyapi.
-
How To Build a Web Application with HTMX and Go
All that's left is adding a little style. I won't claim to be a frontend engineer or a UI designer, so I just used UIKit to easily add modern-looking style to the HTML table and buttons. As mentioned throughout the article, the CSS classes and other small details are excluded since they are not directly relevant to the tutorial. See the full example on GitHub to try running it for yourself.
-
The Easiest Way to Create a REST API With Go
Go is known for being easy to learn and providing the fastest path to production. With HTTP functionality built-in to the standard library, you have everything you need without any external dependencies. The lower-level access to HTTP can be a breath of fresh air if you are accustomed to bloated frameworks, but it results in a lot of boilerplate code which eventually becomes tiring to write over and over. This is where babyapi comes in. I created this library to enable super simple creation of REST APIs without forcing a specific structure on your whole application. It's so easy that a baby could do it!
What are some alternatives?
When comparing hord and babyapi you can also consider the following projects:
cachego - Golang Cache component - Multiple drivers
godis - redis client implement by golang, inspired by jedis.
redigo - Go client for Redis
Redis - Redis Go client
go-random-chat - Modern real-time chat in scalable architecture.
migrate - Database migrations. CLI and Golang library.
render - easily manage HTTP request / response payloads of Go HTTP services
redis - Type-safe Redis client for Golang [Moved to: https://github.com/redis/go-redis]
automated-garden - weather-based smart irrigation controller and backend
xid - xid is a globally unique id generator thought for the web