/gin-gorm-app

🛑[DEPRECATED] 🛑 Go HTTP Web Backend using GIN and GORM (Golang ORM for SQL) - Target to Starter Kit for Gin and Gorm

Primary LanguageGo

🛑[DEPRECATED] 🛑 I don't have any time more to continue developping this project

Gin Gorm App

Go HTTP web backend using GIN and GORM (Golang ORM for SQL).

Implement Server Side Render (SSR) and REST APIs using gin HTTP Web Framework and ORM for SQL Database (MySQL, PostgreSQL) is gorm. Source code is managed by Dependency Packages Management govendor

Comming soon...

Introduction

Govendor - Dependency Packages Management

Gin

Gorm

Dependencies

godotenv

gin-template

jwt-go

mapstructure

go-funk

Quickstart

Set Up Database

Scripts

### Drop database + Sync database tables
./migrate.sh


### Generate database

## Go to scripts/db
npm install # or yarn

## Generate users in file `users.json` to your database
./start # start server
node scripts/db/users.js # call API to fake users

## To create new users database, run this file to create new users list in file `users.json`
node scripts/db/users-fake.js

Run development

Build production

Deploy

Structure

Concepts

Screenshots