pREST
cache2go
Our great sponsors
pREST | cache2go | |
---|---|---|
15 | 1 | |
4,064 | 2,049 | |
0.9% | - | |
8.0 | 0.0 | |
17 days ago | 12 months ago | |
Go | Go | |
MIT License | GNU General Public License v3.0 or later |
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.
pREST
- Need help connecting VueJS 3 UI to a database
- Postgres as Rest
-
pREST on YugabyteDB
In a previous post, I published an example with PostgREST on YugabyteDB. Here is another one: pREST opens a REST API to PostgreSQL. YugabyteDB is a PostgreSQL-compatible Open-Source Distributed SQL database. It adds horizontal scalability to applications built for PostgreSQL. Let's see how it integrates with pREST.
-
PostgREST – Serve a RESTful API from Any Postgres Database
Pretty sure I started with this: https://github.com/prest/prest/blob/main/cmd/root.go
And from there you can execute your own command and add handlers or other things as you wish.
-
Accessing Postgres via REST using pRest
With pRest, it is possible to create a RESTFul API to access the contents of a Postgres database in a fast and straightforward way. The project, written in Go, can be found on its official website and Github.
-
Admin panel for Go back end?
So this is something I've been pondering about for a while and I think I've settled to using Directus: https://directus.io/ as my db admin and dbmate for migrations. Alternatively you could use react admin: https://marmelab.com/react-admin/ . The only problem with the latter is that it requires you to build your rest endpoint for CRUD but you can use postgrest: https://postgrest.org/en/stable/ (or it's go alternative prest: https://prestd.com/) for that.
-
Full Text Search in PostgreSQL
prest / prest
There is PostgREST written in Haskell, but keeping Haskell software in production is not an easy job. With this need pREST was born. Read more.
This feature was implemented in version 1.0.5 as a search filter and works like this:
cache2go
What are some alternatives?
go-cache - An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
groupcache - groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.
kingshard - A high-performance MySQL proxy
TinyGo - Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
InfluxDB - Scalable datastore for metrics, events, and real-time analytics
GCache - An in-memory cache library for golang. It supports multiple eviction policies: LRU, LFU, ARC
go-mysql - a powerful mysql toolset with Go
diskv - A disk-backed key-value store.
pgweb - Cross-platform client for PostgreSQL databases
tidb - TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://tidbcloud.com/free-trial
tiedot - A rudimentary implementation of a basic document (NoSQL) database in Go