API Documentation for parse-server rest-api.
- mongoDB (https://www.mongodb.com/try/download/community)
- node.js (https://nodejs.org/en/)
- postman (https://www.postman.com/downloads/)
- Clone the repository
$ npm install
Follow these steps given bellow
Run Command:
$ node app.js
rest api for parse-server is automatically created.
Request Format:
In headers, you must include:
Headers
X-Parse-Application-Id: parse-rest-api
Content-Type: application/json
-
POST
-
/parse/classes/rest
Body
create any object according to your wish. Example:
name: Mukim
position: Front End Developer
company: Now Deliveries
here, rest is the name of the class. if confused, visit https://docs.parseplatform.org/rest/guide/
-
GET
-
/parse/classes/rest
-
GET
-
/parse/classes/rest/:id
example:
/parse/classes/rest/0dcFQ0IN8o
-
PUT
-
/parse/classes/rest/:id
example:
/parse/classes/rest/0dcFQ0IN8o
Body
create or modify any object properties according to your wish. Example:
position: Senior Front End Developer
-
DELETE
-
/parse/classes/rest/:id
example:
/parse/classes/rest/0dcFQ0IN8o
Manage the app through the parse-dashboard.
you can find the configuration file named parse-dashboard-config.json in the directory.
make sure you have parse-dashboard npm installed globally.
$ npm install -g parse-dashboard
Finally, run this command to the manage your application.
$ parse-dashboard --config .\parse-dashboard-config.json