paint-brush
How To Create Golang REST API: Project Layout Configuration [Part 1]by@danstenger
16,735 reads
16,735 reads

How To Create Golang REST API: Project Layout Configuration [Part 1]

by Daniel7mMarch 26th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The biggest challenge developers are facing is lack of constraints or standards when it comes to project layout. For better understanding I'll go through steps of creating a simple REST API. I'll try not to over-complicate things for starters and only add what's necessary: persistence layer in form of database, simple program that will establish connection to database, run in docker environment and recompile on each source code change. I don't want to install/setup Postgres database neither I want any other project contributor to do so. Let's automate this step with docker-compose.

Company Mentioned

Mention Thumbnail
featured image - How To Create Golang REST API: Project Layout Configuration [Part 1]
Daniel HackerNoon profile picture
Daniel

Daniel

@danstenger

GO and functional programming enthusiast

About @danstenger
LEARN MORE ABOUT @DANSTENGER'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Daniel HackerNoon profile picture
Daniel@danstenger
GO and functional programming enthusiast

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite