edwardns86 / twitter-clone

A clone of the basic functionalities of twitter using vanilla javascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CoderSchool FTW - * Name of Your Project Here *

Created with love by: Edward, Hang and Khoa

View online at: https://admiring-montalcini-a9ff4e.netlify.com/

This project was completed to practice implementing and then manipulating data from an API.

Video Walkthrough

Here's a walkthrough of implemented user stories.

https://i.imgur.com/mKbqSK5.gifv


## User Stories

The following **required** functionalities are completed (this is a sample):

* [x] The user should be able to enter a message into a text field.
* [x] The user should be able to press "Tweet" and see the message pop in below the text box.
* [x] The user should see a "count" that displays how many more characters the user has remaining, counting down from 140.
* [x] Upon tweeting, the characters remaining text should reset back to 140, and the field should be cleared.
* [x] The application should disallow text of greater than 140 characters.
* [x] The user should be able to "Retweet". Clicking Retweet immediately inserts a copy of that tweet below the original tweet.
* [x] The user should be able to "Like". When "Like" is clicked, the text should change to "Unlike". When "Unlike" is clicked, the text should change to "Like". Alternatively, use a heart icon (colored or not colored).
* [x] When a "Liked" tweet is retweeted, the new tweet should not be liked. // maybe later 
* [x] Each tweet has an optional hashtag. The hashtag should be linked with an anchor tag.
* [x] The user should be able to delete a tweet.

The following **optional** features are implemented:
 
* [x] Download and upload the list of tweets using the myjson api, as shown in class.
* [] Users can mention other users. Any string that starts with @username will be highlighted in blue.
* [x] The user can click on a hashtag, and only other tweets with that hashtag are shown.
* [x] When the user deletes a tweet, all retweets should be deleted.
* [] Any tweet with an image URL will have the image automatically expanded in the tweet.

The following **additional** features are implemented:

* [x] Retweet has new timestamp

* [] If a tweet is too long then we style the text in the input box and make background character red

Describe any challenges encountered while building the app.


## License

    Copyright [2019] [Edward Stevens]

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.


    Test

About

A clone of the basic functionalities of twitter using vanilla javascript


Languages

Language:JavaScript 46.5%Language:HTML 39.0%Language:CSS 14.5%