Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.
/ randomSurvey-km Public archive

A random survey generator created for a test. It uses Node.js, Express.js, SequelizeJS, MySQL and Handlebars.

Notifications You must be signed in to change notification settings

kmallea/randomSurvey-km

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Survey Junkie

Pre-Requisites

What you need to have installed already

Installation

From the command line enter the following commands

git clone https://github.com/kmallea/randomSurvey-km.git randomSurvey-km
cd randomSurvey-km
npm install

Setup MySQL

Use the following create statement to create the Survey Junkie database on your exisitng MySQL Server.

CREATE DATABASE `survey` /*!40100 DEFAULT CHARACTER SET latin1 */;

Prepare for first run

Edit you server info in app.js. Lines 2 - 5.

var mySQLConfig = {
	databaseName : 'survey',
	hostUrl : 'localhost',
	userName : 'root',
	pass : ''
}

Lets launch the app

node app.js

When the app first loads your tables will be created and a user will be added to the users table with the login/password combo of admin/admin.

To login to the app go to /admin

About

A random survey generator created for a test. It uses Node.js, Express.js, SequelizeJS, MySQL and Handlebars.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published