Skip to content

00startupkit/easyapi.go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quickapi logo

ci status

Setup a REST API to serve your data easily.

Examle Usage

config := &Config {
  // The defined routes will be prefixed with this root.
  Root: "/api/v1",
  Schema: []*Schema{
    {
      Name: "Users",
      // Plug in the data provider for the "Users" dataset
      // here so that the REST API knows how to access the data
      // to be served.
      // Read below for data providers for your persistent storage solution.
      Provider: users_data_provider,
    },
    // ... define more shemas to be served by the REST API
  },
}

err := InitEasyApi(config)
// TODO: Put example of plugging in the api router.

Data Providers

About

Create REST APIs with ease.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages