Skip to content

FAC10/easy-poll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

easy-poll

Quick and easy poll app using elm.

How to run locally

requirements: MongoDB, Elm

git clone https://github.com/FAC10/easy-poll && cd easy-poll
npm install

Create a .env file in the root of the project with a DB_URL variable e.g. DB_URL=mongodb://localhost/easypoll

Ensure mongo is running.

# Build Elm files and start server
npm start

# Open site in browser
open "http://127.0.0.1:4000/"

How to run tests

# front-end
elm test

# back-end
npm test

Features

  • Submit poll and store it in a database with a POST request
  • Retrieve poll with AJAX using Elm by id
  • Smart answer autofill (tm)

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •