Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kelvin-mai/mern-vote
freeCodeCamp voting app built in the MERN stack
https://github.com/kelvin-mai/mern-vote
express freecodecamp mean-stack mongodb nodejs react
Last synced: 2 months ago
JSON representation
freeCodeCamp voting app built in the MERN stack
- Host: GitHub
- URL: https://github.com/kelvin-mai/mern-vote
- Owner: kelvin-mai
- Created: 2018-04-22T15:52:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-21T22:06:02.000Z (almost 5 years ago)
- Last Synced: 2024-04-19T16:13:50.657Z (9 months ago)
- Topics: express, freecodecamp, mean-stack, mongodb, nodejs, react
- Language: JavaScript
- Homepage:
- Size: 211 KB
- Stars: 51
- Watchers: 2
- Forks: 44
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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/'
SECRET = 'ThisIsATemporarySecretKey'
```## Built with
* nodejs
* express
* mongodb
* mongoose
* bcrypt
* jsonwebtoken
* react