Skip to content

sumitalp/productcatalog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Product Catalogue

Author

Ahsanuzzaman Khan

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

Getting started

Install SQLite3

Install Golang (go1.13+)

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

Environment Config

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

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

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

Install dep

https://golang.github.io/dep/docs/installation.html

Clone the repository

Clone this repository:

➜ git clone https://github.com/sumitalp/productcatalog.git

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

➜ go get -u -v github.com/sumitalp/productcatalog

Switch to the repo folder

cd $GOPATH/src/github.com/sumitalp/productcatalog

Install dependencies

➜ go mod download

Run

➜ go run main.go

Build

➜ go build

Tests

➜ go test -v -race ./...

About

Product Catalogue golang application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages