dcb-simple-node-api
simple node api for split stack
Last updated 4 years ago by theonetheonlydavidbrown .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install dcb-simple-node-api 
SYNC missed versions from official npm registry.

dcb-simple-node-api

Simple node api designed to spin up for frontend testing when the backend doesn't have the data/endpoint yet. It allows a front end developer to quickly add an endpoint with mock data so there is minimal transition when a real endpoint is added.

###Installation

  • npm install dcb-simple-node-api
  • cd into installation directory
  • Run npm install
  • Run npm run dev for development environments (runs nodemon)
  • Run npm start for production

Primary server file will be in src/index.js and is written in es6/2015

The default path will be http://localhost:8080/api/

The port can be configured in the .env file

TODO:

  • make this a generator

Licensed under the MIT License

###Contributing

Information about contributing can be found here

Current Tags

  • 2.0.0                                ...           latest (4 years ago)

2 Versions

  • 2.0.0                                ...           4 years ago
  • 1.0.0                                ...           5 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |