Skip to content

jlazoirus/mock-api-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Example Mock API for rapid development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%