8000 GitHub - chazelton331/rack_api_skeleton: 💀 Barebones API-layer Rack app that returns JSON
[go: up one dir, main page]

Skip to content

💀 Barebones API-layer Rack app that returns JSON

Notifications You must be signed in to change notification settings

chazelton331/rack_api_skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running The App

To start the application, invoke:

rackup -p PORT_NUM

Example Request

Ping (assumes you ran rackup -p 3333)
$ curl -v -X GET 'localhost:3333/ping'; echo
< HTTP/1.1 200 OK
< Content-Type: application/json
...
{"message":"ok"}

Todo

  • Path parser for env["REQUEST_PATH"]
  • Query string parser for env["QUERY_STRING"]

Notes

About

💀 Barebones API-layer Rack app that returns JSON

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0