Skip to content

ifty123/simple_online_store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Store Service

Is a simple project golang application with Echo Go web framework using MySQL and JWT base authentication middleware

Configured with

  • gorm: ORM library for Golang
  • jwt-go: JSON Web Tokens (JWT) as middleware
  • godotenv: go dotenv library
  • Go Modules
  • Built-in RequestID Middleware
  • Feature MySQL 5.7
  • Environment support

Installation

$ go get https://github.com/ifty123/simple_online_store.git

Running Your Application

Rename .env.example to .env and place your database credentials and jwt secret key

$ mv .env.example .env
$ go run main.go

migrate and seed database

$ go run main.go -m=migrate -s=all

Entities/Domain

  • User
  • Product
  • Category
  • Cart
  • Transaction

Documentation API

you can see postman documentation : https://www.postman.com/winter-meteor-307866/workspace/simple-store-service or run the app, and see localhost:{port}/swagger/index.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published