GithubHelp home page GithubHelp logo

createdd / votingapp Goto Github PK

View Code? Open in Web Editor NEW
73.0 6.0 42.0 3.33 MB

๐Ÿ”ฅ ๐Ÿ—ณ๏ธ ๐Ÿ’ป Build a Voting App - FCC Challenge #MERN

Home Page: https://ddcs-votingapp.herokuapp.com/

License: MIT License

JavaScript 98.44% HTML 1.56%
freecodecamp chart vote heroku reactjs nodejs mongodb mongoose materializecss redux

votingapp's Introduction

๐Ÿ“ Author

FreeCodeCamp Dynamic Web Application Projects:

Build A Voting App

Travis CI Heroku Code Climate Dependency Status

gif

See live on Heroku

(Keep in mind that I am using the free tier version on Heroku, which can shut down when traffic is too high in a certain time period)

https://ddcs-votingapp.herokuapp.com/

Built with the MERN stack

MongoDB Express React NodeJS
mdb mdb mdb mdb
a free and open-source cross-platform document-oriented database program Fast, unopinionated, minimalist web framework for node. a JavaScript library for building user interfaces a JavaScript runtime built on Chrome's V8 JavaScript engine

MaterializeCSS

a CSS Framework based on material design.

Photo credit

Unsplash.com

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 new option.

A FreeCodeCamp Challenge

Build a Voting App

Issues / Bugs / Further features

There are already issues open! Feel free to add feedback: GitHub issues

Frameworks / Libraries

Name Description Used
React Fast, composable client-side components. Frontend
Redux Enforces unidirectional data flows and immutable, hot reloadable store. Supports time-travel debugging. Frontend
React Router A complete routing library for React Frontend
React Google Charts A React Google Charts Wrapper Frontend
Axios Promise based HTTP client for the browser and node.js Frontend
MaterializeCSS A a CSS Framework based on material design. Frontend
Express For creating the backend logic Backend
Mongoose To work faster with MongoDB Backend
Passport For simplified authentication in Node.js Backend
Babel Compiles ES6 into ES5 General
Webpack Bundles npm packages and our JS into a single file. General
ESLint Lint JS. Reports syntax and style issues. General

forthebadge forthebadge forthebadge

votingapp's People

Contributors

createdd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

votingapp's Issues

use extract text plugin for webpack

It moves every require("style.css") in entry chunks into a separate css output file. So your styles are no longer inlined into the javascript, but separate in a css bundle file (styles.css). If your total stylesheet volume is big, it will be faster because the stylesheet bundle is loaded in parallel to the javascript bundle.

Advantages:

Fewer style tags (older IE has a limit)
CSS SourceMap (with devtool: "source-map" and css-loader?sourceMap)
CSS requested in parallel
CSS cached separate
Faster runtime (less code and DOM operations)

set up routes

As an unauthenticated user I want to

  • see all polls (R)
  • see individual polls (R)
  • vote on available polls (C)

As an authenticated user I want to

  • see/read all polls (R)
  • see individual polls (R)
  • vote on available polls (C)
  • create new polls (C)
  • create new options/votes (C)
  • delete polls (D)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.