A hosted REST-API ready to respond to your AJAX requests
CSS HTML JavaScript
Latest commit 3824832 Feb 17, 2017 @benhowdle89 query id
Permalink
Failed to load latest commit information.
assets/scss arrow fix Oct 23, 2014
public console log Feb 17, 2017
routes query id Feb 17, 2017
views put 'https' in urls Jan 15, 2017
.gitignore basics Oct 16, 2014
Procfile init Oct 16, 2014
README.md new domain Oct 23, 2015
app.js random Feb 17, 2017
config.json all endpoints and cors Oct 16, 2014
data.json added random profile pic to users Oct 27, 2014
gulpfile.js
package.json all endpoints and cors Oct 16, 2014

README.md

ReqRes

ReqRes is a bare-bones ExpressJS application.

Docs & Demos ⇒

Installation

  • Clone repo
  • Make sure Node.js is installed on your machine
  • npm install
  • Make sure you have Gulp installed globally (only needed for asset compilation)
  • node app.js or use Nodemon
  • Run gulp if you're modifying the Sass

Tour

  • app.js - this is where we create the Express app and define all of our routes
  • index.js - this is the main file for the callback routes
  • config.json - this houses the pagination details & fake session token
  • data.json - this holds the fake data. This is where you would add a new key to the array and then you could define a callback route for it in routes/index.js