Skip to content

Rohithpesala/Reddit-Rest-Api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Title : Reddit-Rest-Api Author : Rohith Pesala



  1. API

Requirements: nodejs and express needs to be installed

Runtime: launch the file main.js by the following instruction

node main.js

Then, we can check the GET request using POSTMAN. The input is in the form "localhost:8081/api/id/lim"

Here, id = Subreddit tag, lim = number of posts returned


  1. Web app

This is not a proper app but an interactive page to see the JSON object

Requirements: nodejs and express needs to be installed

Runtime: launch the file main.js by the following instruction

node server.js

open index.htm in a browser

Fill the form and click submit. It will direct you to a page with JSON object printed.


Frameworks used: Nodejs, Express

PS: The program is no where near perfect. It has a lot of bugs but is a preliminary deployment.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published