Skip to content

Simple voting app enables the user to add, vote, delete and get a result of the poll. Built with MySQL, ExpressJS and Svelte.

Notifications You must be signed in to change notification settings

AniSanikidze/Voting-App

Repository files navigation

Voting App

Simple voting app enables the user to add, vote, delete and get a result of the poll. The application is built using NodeJS framework - ExpressJS for implementing REST API and Svelte for building client-side application. The application is responsive.

.env Configuration

The backend of the application is dependent of the MySQL database credentials that shoudl be provided in .env file.

.env file should be added in the backend folder with the following variables:

LIMIT = 100

HOST="localhost"

USER="user"

DATABASE="voting_app"

PASSWORD="password"

The variable values are provided as examples.

The user needs to provide an already existing database were tables can be created.

Usage

Simple.Voting.App.UI.Flow.mp4

Running Application

cd voting-app
npm install

...then start Rollup:

npm run dev

Building and running in production mode

To create an optimised version of the app:

npm run build

About

Simple voting app enables the user to add, vote, delete and get a result of the poll. Built with MySQL, ExpressJS and Svelte.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published