Skip to content

Nashati/api-paradise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Paradise - Rest API best practices

General

A walk-through rest APIs best practices

Build

  1. build and run project:
go run main.go
  1. Navigate to 'http://localhost:3030/api/v1/swagger/index.html' in your browser

Walk through

  1. API first draft - http://localhost:3030/api/v1/swagger/index.html
  2. Naming convention - http://localhost:3030/api/v2/swagger/index.html
  3. Http method types - http://localhost:3030/api/v3/swagger/index.html
  4. API versioning - http://localhost:3030/api/v4/swagger/index.html
  5. Use http status code - http://localhost:3030/api/v5/swagger/index.html
  6. Simplify client side - http://localhost:3030/api/v6/swagger/index.html
  7. More robust API - http://localhost:3030/api/v7/swagger/index.html
  8. Relation between resources - http://localhost:3030/api/v8/swagger/index.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages