This is a basic starter application for mocking APIs. This is to help Front End Developers carry on without as the actual API is being developed.
clone the repo
git clone https://github.com/ochomoswill/sample-mock-api.git
install node modules
npm install
After creation, your project should look like this:
sample-mock-api/
node_modules/
src/
models/
generateEmployees.js
generateEmployers.js
generateMockDatabase.js
index.js
package.json
README.md
Run the below cmd to start the api
npm start
Great thanks to korydondzila: