Simple online polls
- NodeJS & npm
- MySQL/MarinaDB Server
-
Download Code
$ git clone https://github.com/nimajneBG/pollx.git
-
Prepare Database
$ mysql -u [your username] < setup.sql
-
Install Dependencies
$ npm i
-
Create
.env
Example (also in
.env.example
):PORT = # The port the server should run on (default: 3000) SECRET = # The secret for the cookies DB_HOST = # The adress of your mysql server (default: localhost) DB_USER = # Your DB User (default: root) DB_PASSWORD = # Your DB Password URL = # The public URL of your app DB_MAX_CONNECTIONS = # Max number of connections in the poll (default: 10) SESSION_MAX_AGE = # The max age of the session cookie in hours (default 3d -> 72h)
-
Build the CSS
$ npm run build
-
Start it
$ npm run start
MIT
See TODOS.md
- Fonts from fonts.google.com
- ASCII Art created with http://www.patorjk.com/software/
- Pop-up Library under
MIT
by Gregor Parzefall and Benjamin Grau https://github.com/nimajneBG/Pop-up-Library