Skip to content

Simple API to be used in "Node Sorocaba - Meetup #1".

Notifications You must be signed in to change notification settings

juliofortunato/gotham-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gotham-api

Simple API to be used in "Node Sorocaba - Meetup #1".

Running project

You need to have installed Node.js

Install dependencies

To install dependencies enter project folder and run following command:

npm install

Run server

npm start

Make Requests

Listing all characters

http GET http://localhost:5000/characters

Using Heroku

Heroku

GET/POST characters

https://secure-thicket-39526.herokuapp.com/characters

JSON example for POST

{
    "name": "James Gordon",
    "ocupation": "Police Commissioner",
    "quote": "Because he's not our hero.",
    "firstAppearance": 1938
}

About

Simple API to be used in "Node Sorocaba - Meetup #1".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.5%
  • API Blueprint 18.5%