osoc17 / datascouts Goto Github PK
View Code? Open in Web Editor NEWSocial Media Aggregator
License: GNU Affero General Public License v3.0
Social Media Aggregator
License: GNU Affero General Public License v3.0
It's a new feature to allow CRUD on Entity. Entity is a group of handles
Entities |
---|
Id (PK) |
name (String) Not Null |
url (String) Unique |
image (String) |
We need to use Laravel 5.3
We also need OAuth2, it's a MUST (Passport in Laravel) https://stackoverflow.com/questions/17143985/twitter-api-error-215#answer-17145712
Maybe axios for the GET/POST requests or we'll use Vue.js for it
Send Facebook data to frontend in expected structure
We have 3 sidebars (entities, handles, action/crud), they should be triggered when clicked (JS).
We also have sliding forms to add an entity or a handle.
It's a new feature to allow CRUD on Entity. Entity is a group of handles
Entities |
---|
Id (PK) |
name (String) Not Null |
url (String) Unique |
image (String) |
/entities
POST
GET
/entities/osoc17
return the specified name/entities/osoc17,datascouts
return the specified namePUT /entities/{oldname}
DELETE /entities/{name}
We'll create a Controller class that provides the following functionality:
post: create a new entity
Parameters :
Return: All properties but id of the entity stored in DB.
Error :
get: retrieve the selected related to a specific entity
Parameters : entity.url, entity.url, entity.url
Return: If parameter is null, return all entities otherwise those requested
Error:
put: modify a specific entity
Parameters : entity.url Not null
Return: All properties but id of the entity stored in DB.
Error :
delete: delete a specific entity
Parameters : entity.url Not null
Return: All properties but id of the entity stored in DB.
Error :
On the first launch, what do you see?
When there is no content to be displayed there should be a call to action.
Detailed design of twitter card
Users should be able to filter the waterfall display on: entity, social media (,date).
When a filter is toggled the contents of the waterfall display should update.
In order to fetch data from different social media sources, we need services that fetch data from those social media sources using their API endpoints. We need this because we need to fill the database with social media posts in a way that allows for easy and filtered retrieval through the API (insert link to API issue if applicable).
Delve deep into the waterfall.js plugin code and find out why we have to create a new instance before the waterfall display updates its content.
A side effect of creating multiple instances is the accumulation of wf-column elements in the DOM.
Make App.js more composable.
Root : AppComponent contains
This could be "enhancement" or "feature" or "patch" ... Something that categorises the issue.
Then we go on by explaining in simple, even layman, terms on what this issue is, the need (the why) and the goal (what). Not necessarily the how, which is more of a technical part. If the how is described, use as little as difficult terms necessary.
An example of this is:
In order to fetch data from different social media sources, we need services that fetch data from those social media sources using their API endpoints. We need this because we need to fill the database with social media posts in a way that allows for easy and filtered retrieval through the API (insert link to API issue if applicable).
Here the issue should become technical, something in the likes of this:
We'll create a Service class that provides the following functionality:
This function will check if a social media handle isn't already in the queue and hasn't been checked for the last 5 minutes. If that's not the case, it will push a job onto the queue that fetches data for the social media handle and return a state the informs the caller of the function that a job was pushed onto the queue, if not return a state that informs the caller of "why not".
When there is no content to be displayed there should be a call to action.
You can find all visual designs at this link
Detailed design of facebook card
Send Twitter data to frontend in expected structure
There should be some visual indication to the user that the contents of the waterfall display are being loaded.
Design loading templates
Add code to display the templates while content is being loaded
Dynamically align the templates to the columns of the waterfall display
Should be redesigned
When a user enters a wrong url or when a post request returns any other error, the user should be notified on what went wrong.
Users should be able to add/edit/delete handles to their entities. A list of handles should be visible when they select an entity.
Implement CRUD for the handles to the frontend:
Create the visual structure.
Start by 15:00 โ gather your teammates information!
Structuring and positioning the HTML tags
Make sure everybody has set up the project on their laptop, up and running.
Create: First
Read: Fetch from social media,
Edit: /
Delete: (Soft) - delete_at
Also add them for the future social media (not LinkedIn or Instagram)
Users should be able to add/edit/delete entities. A list of entities should be visible when they open the sidebar.
Implement CRUD for the entities to the frontend:
Error Message about it ๐ข
XMLHttpRequest cannot load https://osoc-2017-datascouts-backend-akad1070.c9users.io/api/v1/entities/. Response for preflight is invalid (redirect)
Translate the Node backend into Laravel 5.3
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.