First demo tutorial for Quiver.
JavaScript Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
private
scripts
src
static/user
.gitignore
.npmignore
LICENSE
Makefile
README.md
package.json

README.md

Quiver Demo 01

This is the first demo to demonstrate how to build simple components in Quiver.js. In this demo, we are going to build a simple HTTP server that greets a user based on the URL path.

Installation

It is easy to try out this demo by simply cloning the git repository.

$ git clone https://github.com/quiverjs/quiver-demo-01.git

After cloning, go into the directory and install the required npm packages. After installation use npm start to start the demo server running at localhost port 8080.

$ cd quiver-demo-01
$ npm install
$ npm start

At a separate terminal or on your browser, navigate to http://localhost:8080 and you should see the response text "Hello Quiver".

$ curl http://localhost:8080
Hello Quiver

Running Tutorial

This demo is divided into multiple tutorial steps. To make it easy to run different steps, a simple server script is used to dynamically run a server for tutorial step specified as command line argument after npm start.

For example, the following command will run tutorial step 03 as HTTP server:

$ npm start 03

Check out the HTTP Core documentation to find out more about running server in Quiver.

Tutorials