Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

jpthedev/reqres

Repository files navigation

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

About

A hosted REST-API ready to respond to your AJAX requests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 56.9%
  • HTML 23.4%
  • JavaScript 19.7%

AltStyle によって変換されたページ (->オリジナル) /