Home Applications golang-fiber-iris-realworld-example-app

golang-fiber-iris-realworld-example-app

Community Project
This project is maintained by its author and is not officially supported by InterSystems. For technical support, please contact the project developer.
4.5
1 reviews
0
Awards
275
Views
0
IPM installs
0
Add to bundle
Details
Releases (2)
Reviews (1)
Issues
Articles (1)
Example real world backend API built with Golang + Fiber + Gorm + Swagger + InterSystems IRIS

What's new in this version

updated readme

RealWorld Example App

Golang/Fiber codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API. Project based on RealWorld example for Golang/Echo

Demo    RealWorld

This codebase was created to demonstrate a fully fledged fullstack application built with Golang/Fiber including CRUD operations, authentication, routing, pagination, and more.

We’ve gone to great lengths to adhere to the Golang/Fiber community styleguides & best practices.

For more information on how to this works with other frontends/backends, head over to the RealWorld repo.

InterSystems IRIS

Original project were slighltly adopted to work with InterSystems IRIS

Quick start

Before quick start you must install docker, docker-compose and Git.

Builds and tests

git clone https://github.com/caretdev/golang-fiber-iris-realworld-example-app.git
cd golang-fiber-iris-realworld-example-app 
docker compose up -d

Getting started

Install Golang (go1.24+)

Please check the official golang installation guide before you start. Official Documentation
Also make sure you have installed a go1.11+ version.

Environment Config

make sure your ~/.*shrc have those variable:

➜  echo $GOPATH
/Users/xesina/go
➜  echo $GOROOT
/usr/local/go/
➜  echo $PATH
...:/usr/local/go/bin:/Users/alpody/test/bin:/usr/local/go/bin

For more info and detailed instructions please check this guide: Setting GOPATH

Clone the repository

Clone this repository:

➜ git clone https://github.com/caretdev/golang-fiber-iris-realworld-example-app.git

Or simply use the following command which will handle cloning the repo:

➜ go get -u -v github.com/caretdev/golang-fiber-iris-realworld-example-app

Switch to the repo folder

➜ cd $GOPATH/src/github.com/caretdev/golang-fiber-iris-realworld-example-app

Generate Swagger docs

➜ go install github.com/swaggo/swag/cmd/swag@latest
➜ go generate .

Install dependencies

➜ go mod download

Run

➜ go run main.go

Build

➜ go build

Tests

➜ go test ./...

Swagger UI

Open url http://localhost:8585/swagger/index.html in browser.

2021-10-07_17-01-27

Last checked by moderator
28 Jan, 2026, Works
Made with
Version
0.1.105 Oct, 2025
Category
Technology Example
Works with
InterSystems IRIS
First published
04 Oct, 2025
Last edited
05 Oct, 2025