On OS X, if you have brew installed:
brew install node
brew install mongodb
yarn
Create a file in the project root called .env.local. Setup values for MONGODB_URI, ADMIN_USERNAME, and ADMIN_PASSWORD.
MONGODB_URI=mongodb://127.0.0.1:27017/yoursurveydatabase
ADMIN_USERNAME=username
ADMIN_PASSWORD=securepassword
NEXT_PUBLIC_SAVE_RESPONSES=true
The ADMIN_USERNAME and ADMIN_PASSWORD are used for bulk .csv export of survey responses.
mongod
yarn dev
http://localhost:3000
While running the app, visit:
http://localhost:3000/responses.csv
The username and password are defined in the .env.local file.
This project is licensed under GNU General Public License v3.0.