Skip to content

RobertDaleSmith/sumo-survey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sumo-survey

##Setup Instructions:

  1. Spin up your MySQL server.

  2. Create a new database schema named: 'sumosurvey'.

  3. Add MySQL database credentials to the config.json file. (host, username, password)

  4. npm install

  5. npm app

  6. http://localhost:5000/

##Admin Interface

  • Login to admin interface at: http://localhost:5000/admin

  • Default admin username and password can be set in config.json before first launch.

  • Default username is 'sumo', password is 'tacos'.

##Known Bugs:

  • Association between Question and Answer randomly not working.

  • Added check to fetch detached answers on public facing page, until resolved.

##In response to:

Create a web app written in Node.JS using an Express based framework, SequelizeJS, and MySQL.

Use NPM to declare all dependencies so that we can run it in a test environment.

The app should allow an admin to enter survey questions with multiple choice answers.

When a guest visits the app in a browser it should present a random survey question to the guest and allow them to answer.

Record answers and display the survey results in an admin interface.

Avoid showing a previously answered question to the same guest.

Make sure the UI is mobile browser friendly.

Provide a clear README with instructions on how to setup and run the app.

Create a github.com repository with the app that we can pull from and test.

-- Noah Kagan

Ps. We're hiring 1 javascript developer at SumoMe. I'll buy you a year of tacos for a successful referral!

About

SumoMe Javascript Challenge

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published