/golang-blog-tutorial

How to Add a Blog to Your Golang Application in Minutes with ButterCMS

Primary LanguageCSS

golang-blog-Tutorial

How to Add a Blog to Your Golang Application in Minutes with ButterCMS

Important Note

This project was created as an example use case of ButterCMS in conjunction with a blog article, How to Add a Blog to Your Golang Application in Minutes with ButterCMS, and will not be actively maintained.

If you're interested in exploring the best, most up-to-date way to integrate Butter into projects, you can check out the following resources:

Starter Projects

The following turn-key starters are fully integrated with dynamic sample content from your ButterCMS account, including main menu, pages, blog posts, categories, and tags, all with a beautiful, custom theme with already-implemented search functionality. All of the included sample content is automatically created in your account dashboard when you sign up for a free trial of ButterCMS.

Other Resources

Getting Started

This is a server side rendered application written with Golang and ButterCMS API.

To get started,
Firstly, you must ensure you have Golang installed on your local device.

  • Clone the code to your local computer using the command git clone https://github.com/ButterCMS/golang-blog-tutorial.git

  • Create a .env file at the root directory of the project, following the example on the .env.example

  • Add your read token gotten from the ButterCMS platform

  • Use the following command to start the application. go run src/server.go