-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source of data to be used for 'Latest Events and News' section #22
Comments
Which is same as the General notices. |
A quick look at the schema; we can see that we have a notices table which allows us to stores the details that need to be shown. So we need to fetch are from the database. Again this database is updated accordingly by the person uploading it (a SWD staff). |
So "Latest Events" are obtained by searching for notices from a recent period right? |
This is why #19 is for. We can use firebase based updations. |
How is that related? Firebase Cloud Messaging seems to be for real-time data applications like Instant Messaging. 'General notices' are barely updated every 3-4 days. |
Yes @prampey, that's how it should be done. |
@prampey yeah, sorry. I was thinking of something else. |
@mukkachaitanya If possible, can you craft the required GraphQL query and send the data as props to the Home component? |
Nevermind, I'll open up a separate issue for you. Do it at your convenience. |
@SebastinSanty can you take this up?
Yeah sure. Take the above schema as the blue print for the props being returned by the GraphQL query. |
The current SWD website has this section on the right.
How are we going to fetch data for this section? Statically or from a database?
The text was updated successfully, but these errors were encountered: