All Projects → coryhouse → Mock Api Example

coryhouse / Mock Api Example

Example Mock API for rapid development

Programming Languages

javascript
184084 projects - #8 most used programming language

Mock API Example

This is an example Mock API for rapid front-end development. I walk through how to build this from scratch in Building a JavaScript Development Environment on Pluralsight.

Quick Start

  1. npm install
  2. npm start
  3. Load http://localhost:3001/users

Next Steps

Generate PUT, POST, and DELETE requests against the mock API and note that changes are saved to db.json, so they're reflected on refresh like a real database exists! To see this in action, check out Building a JavaScript Development Environment on Pluralsight.

Hosting

For hosting info, check out json-server-heroku.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].