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