Skip to content

garygause/go-api-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-api-app

Example API app written in Go.

Stack

Go, Gin, JWT, SQLite3

Usage

  1. Clone the repository:
git clone git@github.com:garygause/go-api-app.git

or

git clone https://github.com/garygause/go-api-app.git
  1. Install dependencies:
go mod tidy
go run .

Tests

Tests are located in api-test folder. To run these tests, you need the Rest extension installed in VSCode.

API

  • POST /signup
  • POST /login
  • GET /users
  • GET /users/
  • POST /users
  • PUT /users/
  • DELETE /users/
  • GET /stores
  • GET /stores/
  • POST /stores
  • PUT /stores/
  • DELETE /stores/
  • GET /products
  • GET /products/
  • POST /products
  • PUT /products/
  • DELETE /product/

About

Example app using Go to create a Restful API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages