Skip to content

TeamYayin/sales-exec-api-mock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sales Exec API Mock

Mock REST API returning sales executive data with pagination, sorting, and filtering.

A dummy REST API built using Node.js, Express, and Faker to simulate sales executive data for testing and front-end assignments.

Features

  • Pagination (page, limit)
  • Sorting (sort_by, order)
  • Filtering (status, location)

How to Use

1. Install dependencies

npm install

2. Start the server

npm start

3. Sample API calls

Replace localhost with your backend deployed url - after deploying React Front End

http://localhost:4000/api/sales-executives
http://localhost:4000/api/sales-executives?page=2&limit=20
http://localhost:4000/api/sales-executives?status=Active&sort_by=progress_percentage&order=desc

Deployment

You can deploy this app on platforms like Render or Railway. Just set:

  • Build command: npm install
  • Start command: npm start

About

Mock REST API for sales executives with pagination, sorting, filtering

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors