Quick and easy poll app using elm.
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/"
# front-end
elm test
# back-end
npm test
- Submit poll and store it in a database with a POST request
- Retrieve poll with AJAX using Elm by id
- Smart answer autofill (tm)