- DEPLOYD is the open source tool for creating for building REST API for the JSON Data.
- In this Demo, “We will create a REST API on Student Data“.
- Download Link for Deployd :-
- After Installation of the downloaded Deployd package follow the below steps to create REST API for Student Data:-
—-Create a Directory ‘apps’ for Deployd workspace.We are going to save app our work in this Directory.
—-Change your current directory to ‘apps’.
—Issue ‘dpd‘ command with option as ‘create‘ and name as ‘RemoteData‘.See the blow screenshot for above steps,
—Change your current directory to ‘RemoteData‘.
—Issue ‘dpd’ command to start the Deployd service for your App.
—You can see some log message on your command prompt about the server running on its default port 2403.See the below screenshot for above steps,
— Open a browser Window and load the URL ‘http:\localhost:2403’.You can see your app is running,
—To open the dashboard of the app load the URL ‘http://localhost:2403/dashboard/’.
—To Create new Data collection use the plus(+) button and choose ‘collection‘ option. A popup will appear to name list.Name it as ‘studentlist‘.
—To create Properties use the property botton and defined all the property.See the screen below,
—To add Data, use the ‘data‘ option frol left and statrt inserting in the table interface.See screenshot below.
— After adding data , check the created API by selecting ‘API‘ option from left menu.see screenshot below,
—To access the collection studenlist use the URL ‘http://localhost:2403/studentlist’.See the screen below,