Skip to content

Polling application made with Node/Express/MongoDB and Angular frontend. Uses jwt token authentication.

Notifications You must be signed in to change notification settings

kle-pra/polls-node

Repository files navigation

Polling application made with Node/Express/MongoDB and Angular frontend. Uses jwt token authentication.

This app serves as a MEAN application example/POC. Feel free to modify it as you need to.

Still in progress - not everything is implemented yet - keep in mind this is just a simple POC project, not a production application ...

Working example of this simple app can be seen here (heroku): https://polls-node.herokuapp.com

App enables registration/login. As a logged-in user you can create, list and delete your own polls. Anonymous users can vote and see results of polls. You can see results in a simple chart (can be improved).

To run, build backend & angular frontend and copy dist files to express '/static' folder; inside project folder run:

  • npm install
  • cd frontend
  • npm install
  • npm build
  • cd ..
  • node app.js

When build, frontend files are copied to over to static folder with npm scripts, which is served by Express.

About

Polling application made with Node/Express/MongoDB and Angular frontend. Uses jwt token authentication.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published