Skip to content

go-web-dev-my/fake-leads-processor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fake Leads Processor

The dummy leads processor

First Run

before you start the app for the first time, ensure that you run the command below

npm install

Startup

To start the server

node app.js

Mapping

Resource GET POST
/leads Returns all the leads from the DB Creates a new lead
/leads/:id Returns a lead from the db with the matching ID -

Sample POST request

{
	"name": "John Doe",
	"email": "[email protected]",
	"contactNumber": "1234567890",
	"comments": "Lorem ipsum"
}

About

The dummy leads processor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors