Skip to content

mococa/go-api-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Boiletplate

Setup an environment with the file server.env containing following the same structure of server.env.example

Local Postgres

I will be creating a user "postgres" and a database "mococa_api_v2"

Login to database with user postgres

psql -U postgres

Create a database called mococa_api_v2

CREATE DATABASE mococa_api_v2;

Select the database you just created

\c mococa_api_v2;

Add the UUID extension

CREATE EXTENSION IF NOT EXISTS "uuid-ossp";

Exit psql

\q

Should be good enough to set it up properly

About

golang api boilerplate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published