Encore
examples
Encore | examples | |
---|---|---|
35 | 12 | |
4,556 | 74 | |
2.8% | - | |
9.7 | 8.6 | |
3 days ago | 3 days ago | |
Go | TypeScript | |
Mozilla Public License 2.0 | MIT License |
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.
Encore
-
Build and deploy a REST API with Postgres database in TypeScript
In this tutorial you will create a REST API for a URL Shortener service using Encore for TypeScript, a new way of building fully type-safe and production-ready distributed systems in TypeScript using declarative infrastructure.
- How I keep myself Alive using Golang
-
Using Pub/Sub for event-driven Go backends
At Encore, we've made it easier by making Pub/Sub is a native component in Encore's Open Source Infrastructure SDK.
- Encore releases automatic tracing in tests
-
Building an Appointment Booking app in Go
βοΈ Support the project by starring Encore on GitHub.
-
Pocketbase: Open-source back end in 1 file
Very cool. Reminds me of the encore framework, also written in go: https://github.com/encoredev/encore
Need to spend some more time looking into these go based frameworks, they seem great for quick prototyping
-
Build a URL Shortener in Go using REST & PostgreSQL π
package url import ( "context" "testing" ) // TestShortenAndRetrieve - test that the shortened URL is stored and retrieved from database. func TestShortenAndRetrieve(t *testing.T) { testURL := "https://github.com/encoredev/encore" sp := ShortenParams{URL: testURL} resp, err := Shorten(context.Background(), &sp) if err != nil { t.Fatal(err) } wantURL := testURL if resp.URL != wantURL { t.Errorf("got %q, want %q", resp.URL, wantURL) } firstURL := resp gotURL, err := Get(context.Background(), firstURL.ID) if err != nil { t.Fatal(err) } if *gotURL != *firstURL { t.Errorf("got %v, want %v", *gotURL, *firstURL) } }
-
Ask HN: What would be your stack if you are building an MVP today?
For something in the same vein but for Go, there is Encore: https://encore.dev / https://github.com/encoredev/encore
-
How to build a Go microservices backend in 5 minutes
The framework is Open Source and the Encore platform provides free cloud hosting for hobby projects.
-
nitric VS encore - a user suggested alternative
2 projects | 9 Dec 2022
Encore is a backend framework for creating cloud backend applications where infrastructure is provisioned automatically from business logic.
examples
-
Using Clerk to authenticate users in a Go backend
For all the code and instructions of how to clone and run this example locally, see the Clerk Example in the Encore examples repo.
-
Go ORMs Compared
Encore is designed to work well with sqlc and is a simple method of trying it out, as Encore will take care of provisioning your databases automatically. Check out this hello-world example app using Encore and sqlc on GitHub.
-
Build a backend in Go using REST and PostgreSQL
Keep building with these Open Source App Templates.π
-
Deploying a Go backend to a new Kubernetes Cluster in minutes(!)
To keep things simple, we're going to clone a pre-made backend app from Encore's template repo. It's a simple monolith implementing a URL shortener. The app has a REST API and a PostgreSQL database.
-
Build an Event-Driven Uptime Monitor in Go π
If you want to build something more, check out Encore's templates library for inspiration.
-
π€What to expect from a Backend Development Platform
There's much more to Encore! If you want to get a feel for it, consider creating a free account and build an app with a template.
-
Create an AI Voice Generation App in 5 minutes π§ β¨
Download the elevenlabs package directory from https://github.com/encoredev/examples/tree/main/bits/elevenlabs and add it to the app directory you just created.
-
Build a GraphQL API and deploy it in minutes with Encore π
Keep building with these Open Source App Templates. π
-
How to build a Slack Bot in Go
You can see the end result code on GitHub here.
-
Show HN: Encore β Go framework for distributed systems
Thanks! Encore does support dropping down to plain HTTP requests which lets you use Websockets, see [1]. We hope to make it more ergonomic and less boilerplate-y in the future, but it is supported :)
[1] https://github.com/encoredev/examples/tree/main/websocket-ec...
What are some alternatives?
go-kit - A standard library for microservices.
elevenlabs-python - The official Python API for ElevenLabs Text to Speech.
trpc - π§ββοΈ Move Fast and Break Nothing. End-to-end typesafe APIs made easy.
Pion WebRTC - Pure Go implementation of the WebRTC API
wire - Compile-time Dependency Injection for Go
go-formatter - A curated list of awesome Go frameworks, libraries and software
gowsdl - WSDL2Go code generation as well as its SOAP proxy
dapr - Dapr is a portable, event-driven, runtime for building distributed applications across cloud and edge.
GoSwagger - Swagger 2.0 implementation for go
GORM - The fantastic ORM library for Golang, aims to be developer friendly
JSON-to-Go - Translates JSON into a Go type in your browser instantly (original)