ttbarnes / mean-tweets Goto Github PK
View Code? Open in Web Editor NEWMini Twitter with MEAN
Mini Twitter with MEAN
At the moment this is only currently in the timeline controller.
currently only these files can be minified:
app.min.js
)main.min.css
), done with watchEverything should be considered.
Now that we have some main pieces ready...
At the moment we have these api routes:
/api/tweets/
- returns all tweets
/api/tweets/123456789
- returns single tweet ID
We want this:
/api/username/tweets
- returns a single users tweets
/api/username/tweets/123456789
- return one specific tweet for a single user
/api/tweets/
- returns all tweets for public visibility
api/users/phil/followers
api/users/phil/following
Very bland at the moment...
TBD: What to include?
eg, if logged in as philmitchell, any new tweet would be posted here:
api/philmitchell/*
Would be great to have these.
At the moment in TweetsCtrl
we have to functions that are exactly the same:
tweetsService.tweets.getList().then(function (tweets){
$scope.tweets = tweets;
});
It would be great to have this coming from a factory instead, so we could do something like:
$scope.tweetsService = new tweetsService();
How to handle this in timeline and public profile? I think ideally we could have 1 ID for a tweet - if a user retweets, duplicate the ID and tweet content. This way, we avoid having to find and update multiple IDs.
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.