Coder Social home page Coder Social logo

msa-phase2-2020-backend's Introduction

Voting website backend

Here are just placeholders for now and will added when finished
Here is the website for backend.

First idea

So bascially we first need the user to input the name, will provide an anonymous option.
Then it leads to the home page where u can create public/private votings.
THen u can send the link of the voting to anyone u want.

When another person got the link, idealy we would ask the name first and add anonymous option etc, then they can vote and see the results.
They can also comment below or add more options.

Database thoughts

There will be 4 tables. USER, POLL, POLL_OPTION and VOTE.
The USER table contains the USER_ID and their registed name. Not sure what to do with anonymous rn.
The POLL table is like the question. It has the id, question description and user id for checking the owner.
The POLL_OPTION table is the options for the poll. It has an id, text description and poll_id for the reference.
The VOTE table is the votes that users casted. It has a reference to poll_option id, reference to user_id and a COUNT for counting the number (can be resloved with singalR?)

msa-phase2-2020-backend's People

Contributors

jameszu avatar

Stargazers

 avatar

Watchers

 avatar

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.