/RailsAPITemplate

For Just Support API(JSON) part, easily for angular backbones or other font-end

Primary LanguageJavaScript

RailsAPITemplate

For Just Support API(JSON) part, easily for angular backbones or other font-end

####Upgrade Server

  1. swagger UI: I use grape swagger for api ui, u can upgrade for folder "public/api/doc" with swagger-ui/dist

####Start Server

rails server #use default port 3000

try to visit http://0.0.0.0:3000/api/docs/

#####Use

  1. the api_key now is "fuckthefw", u must add the key at the end of each call