---
title: "Deploy Go Fiber And Gorm"
description: "A Gofiber api with gorm as orm using mysql"
category: "Other"
url: https://railway.com/deploy/n_Nx2x
---

# Deploy Go Fiber And Gorm

A Gofiber api with gorm as orm using mysql

**[Deploy Go Fiber And Gorm on Railway](https://railway.com/template/n_Nx2x)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/n_Nx2x/manifest.json

- **Creator:** Kronborg's Projects
- **Category:** Other
- **Total deploys:** 24

## Template content

### Go-Fiber-Gorm 

- **Source:** https://github.com/kronborg6/Go-Fiber-Gorm
- **Public domain:** Yes

### MySQL https://devicons.railway.app/i/mysql.svg

- **Image:** mysql:9
- **Start command:** `docker-entrypoint.sh mysqld --innodb-use-native-aio=0 --disable-log-bin --performance_schema=0`

## Documentation

This is golang useing gofbier web framworks as a api then we hava gorm as the orm using a mysql database

in the template they is a user model, and a setup file to run the mirgation on the database in the main file they database conntion is run and the mirgation and it start the api on the port Railway gives it

to deploy you will need a mysql database give login env aka MYSQLUSER, MYSQLHOST and you will need to grenate a url for the api

## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — Self-hosted virtual tabletop for role-playing games (license required)
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/n_Nx2x
