Skip to content

A simple MERN voting app where users can sign up, vote, and see results in real time, built with JavaScript technologies for easy learning and experimentation.

Notifications You must be signed in to change notification settings

0xCodeFuture/Vote-MERN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vote App

freeCodeCamp Build a Voting App created with the MERN stack

User Stories

  • As an authenticated user, I can keep my polls and come back later to access them.
  • As an authenticated user, I can share my polls with my friends.
  • As an authenticated user, I can see the aggregate results of my polls.
  • As an authenticated user, I can delete polls that I decide I don't want anymore.
  • As an authenticated user, I can create a poll with any number of possible items.
  • As an unauthenticated or authenticated user, I can see and vote on everyone's polls.
  • As an unauthenticated or authenticated user, I can see the results of polls in chart form. (This could be implemented using Chart.js or Google Charts.)
  • As an authenticated user, if I don't like the options on a poll, I can create a newoption.

Getting Started

Include a .env file in the server directory with the following environment variables.

PORT = 4000
DATABASE = 'mongodb://localhost/<DATABASE_NAME>'
SECRET = 'ThisIsATemporarySecretKey'

Built with

  • nodejs
  • express
  • mongodb
  • mongoose
  • bcrypt
  • jsonwebtoken
  • react

About

A simple MERN voting app where users can sign up, vote, and see results in real time, built with JavaScript technologies for easy learning and experimentation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published