Skip to content

Commit

Permalink
Merge pull request #16 from calvinmclean/remove-acorn
Browse files Browse the repository at this point in the history
Remove Acorn links because it's gone
  • Loading branch information
calvinmclean authored Apr 11, 2024
2 parents 6ed9ce0 + 65ecda0 commit 2fb3014
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 12 deletions.
2 changes: 2 additions & 0 deletions articles/babyapi-htmx-acorn/article.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Introduction

**Note: Since writing this article, the Acorn SaaS product has been shutdown.**

In [a recent article](https://dev.to/calvinmclean/how-to-build-a-web-application-with-htmx-and-go-3183), I demonstrated how [`babyapi`](https://github.com/calvinmclean/babyapi), a library I created, makes it easy to write a TODO app with a RESTful API and HTMX frontend using only 150 lines of code. `babyapi` abstracts the HTTP handling based on a provided struct and serves HTMX templates for a dynamic frontend.

It works great in a tutorial, but you might have been left thinking: "what about persistent storage and running in the cloud?"
Expand Down
2 changes: 0 additions & 2 deletions articles/babyapi-htmx/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,4 @@ I encourage you to continue experimenting with `babyapi` and HTMX to learn more!
- Allow "un-completing" a TODO
- Add a `CreatedAt` field to the `TODO` struct and sort by this date (you can implement `render.Binder` for `TODO` to automatically set `CreatedAt` on new items)

Update: I wrote another article showing how to deploy this example in the cloud in minutes using Acorn. [Check it out here!](https://dev.to/calvinmclean/run-go-htmx-in-the-cloud-with-acorn-5egd)

Thanks for reading!
8 changes: 0 additions & 8 deletions projects/babyapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,3 @@
I got tired of re-writing boilerplate code for HTTP handling in my `automated-garden` project. I also was interested in learning about generics in Go, so I extracted some of the generic behaviors into reusable methods. This eventually evolved into `babyapi`.

You can read more about `babyapi` in [this article that I wrote](https://dev.to/calvinmclean/the-easiest-way-to-create-a-rest-api-with-go-20bo) and the [GitHub repository](https://github.com/calvinmclean/babyapi).

Use [Acorn](acorn.io) to deploy some of my `babyapi` examples now!

### Event RSVP Example
[![Event RSVP Example](https://acorn.io/v1-ui/run/badge?image=ghcr.io+calvinmclean+babyapi-event-rsvp-acorn&ref=calvinmclean&style=for-the-badge&color=brightgreen)](https://acorn.io/run/ghcr.io/calvinmclean/babyapi-event-rsvp-acorn?ref=calvinmclean)

### TODO App Example
[![TODO App Example](https://acorn.io/v1-ui/run/badge?image=ghcr.io+calvinmclean+babyapi-htmx-acorn&ref=calvinmclean&style=for-the-badge&color=brightgreen)](https://acorn.io/run/ghcr.io/calvinmclean/babyapi-htmx-acorn?ref=calvinmclean)
2 changes: 0 additions & 2 deletions projects/tic_tac_go.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@
[![tic-tac-go](https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white)](https://github.com/calvinmclean/tic-tac-go)

Tic Tac Go is a tic tac toe game implemented using Go and HTMX. It uses server-sent events to enable multiplayer without websockets. Simply share the link with a friend to have them join your game.

[![Run in Acorn](https://acorn.io/v1-ui/run/badge?image=ghcr.io+calvinmclean+tic-tac-go:latest&ref=calvinmclean&style=for-the-badge)](https://acorn.io/run/ghcr.io/calvinmclean/tic-tac-go:latest?ref=calvinmclean)

0 comments on commit 2fb3014

Please sign in to comment.