Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Examples

Server application

It's an express application that gets the blog posts making a server-side request.

$ make example-server

Finally open a browser and load the page pointing to http://localhost:3000.

Keep in mind that this app gets the config data from test/data.json file.

There are two pages to test:

  • index.html
  • file_upload.html

CORS (Browser)

$ make example-browser-cors

Make requests using CORS.

Node.js

Simple node.js script to get freshly pressed list.

Into examples/node run:

$ node freshlyPressed.js