Skip to content

galihcitta/spacestock-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SpaceStock REST API

Im using JSON-Server to create this API for serve data that the spacestock-web (https://github.com/galihcitta/spacestock-web) used. Default url: http://localhost:3000

Installation

  1. Clone this reposity
  2. Installing dependencies using npm
npm install
  1. Run the server using this command
npm run json:server
  1. The server will be running on
http://localhost:3000

API Documentation

GET /apartment

returns all of apartment data

GET /apartment/[id]

returns single specific apartment

GET /apartment?[key]=[value]

return filtered apartment data

About

SpaceStock Mock Rest API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published