Skip to content

Shreyas-Born/frontend-homework-assignment

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steps to start the server

  • Install node and npm (in case if you haven't).
  • Open terminal and navigate to the folder and execute below commands.
  • npm install
  • ./node_modules/.bin/mockserver -p 9009 -m mocks
  • That should start a mock server and should show as below.
  • Mockserver serving mocks {verbose:true} under mocks at http://localhost:9000
  • change the port number in case 9009 is already is in use or if there is any error.

Now you can do following API calls:

  • GET - http://localhost:9009/goals - gets all the goals
  • POST - http://localhost:9009/goals - creates a goal
  • DELETE - http://localhost:9009/goals - deletes a goal

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published