stephaniezou1 / be-engaged-frontend Goto Github PK
View Code? Open in Web Editor NEWAn election app that tracks elections across the country, finds the closest polling stations in your city, and sends you SMS notifications for voting deadlines ๐
An election app that tracks elections across the country, finds the closest polling stations in your city, and sends you SMS notifications for voting deadlines ๐
What I have done so far:
(1) created the follows reducer
(2) created the follows action to map the follows into global state
(3) created the backend for follows
Questions:
(1) Am I setting up my follows (joiner) reducer correctly (i.e. I think my keys are wrong, I need to include the election id and user id and election information)
(2) Am I creating my follows instance correctly?
what we did:
to-do:
What I have done so far:
(1) created the follows reducer
(2) created the follows action to map the follows into global state
(3) created the backend for follows
Questions:
(1) Am I setting up my follows (joiner) reducer correctly (i.e. I think my keys are wrong, I need to include the election id and user id and election information)
(2) Am I creating my follows instance correctly?
what we did:
created follows as an attribute to user reducer in an array
follows serializer to make sure the elction id is being sent out
map state to props to find the elction with election id
second argument of mapstatetoprops is ownProps, used ownProps to find specific election from global state to be sent down as props
use the election object and render it onto following container
sent post request to backend with token in header and election id in body
body of fetch goes to params in backend
to-do:
add follow object to user's follow array
use id of follow to delete a follow
Follow params incorrectly permitted
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.