Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 1.27 KB

README.md

File metadata and controls

59 lines (36 loc) · 1.27 KB

Material2-Survey by Mike Cebrian

This app requires Node.js +4.2, npm +3.x, and MySQL Server.

To install:

Clone this repo.

update npm if below v3.x: run npm install -g npm

Then install node modules:

run npm install

install typings

npm install -g typings
typings install

buid with:

npm install -g gulp
gulp build

install MySQL for your server.

Log in as the root user and run the SQL script /scripts/setup-db.sql

from the cloned directory run: NODE_ENV='dist' node server/server.js

direct your browswer to http://localhost:3000, or your domain at port 3000

Use the menu, and select login. Use the credentials:

  username: admin
  password: password

Select: Create New Survey

Add title and survey options and save.

Select create new again until you've entered all of your survey questions.

View all of the surveys by selecting: Survey List

All existing surveys will be displayed on the survey list with an option to edit or view results.

You can then answer survey questions, or link other guest users to your hosted domain

A demo is live at http://mcebrian.com:3000

This is Express + Angular2 app is licensed under MIT, be curious.