Skip to content

chrisco/reddit-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Reddit Clone With Bootstrap and AngularJS

A small project to practice AngularJS.

Screenshot

Built With

Run It Locally

Run the app on your machine like so:

  1. Open your Terminal app:
  2. Run the following commands:
$ git clone [email protected]:chrisco/reddit-clone.git
$ cd reddit-clone
$ open index.html

Specs

  • All post data should only be stored in a controller or service.
  • A page refresh will clear all added posts.
  • You do not have to make any ajax requests or actually contact the reddit API.
  • Each post has a title, author, image, and description.
  • Each post's date/time is displayed nicely. Use an external library if you want. Watch the video for more details.
  • A user can upvote / downvote posts.
  • Posts dynamically reorder according to number of votes.
  • A user can create new posts.
  • V1 DONE: A user cannot create a new post if any of the 4 inputs are blank. Research Angular validations. See the video for an example implementation.
  • A user can click to view existing comments on a specific post.
  • The number of comments is correctly pluralized.
  • A user can add a new comment to a specific post.
  • The new post form and comment forms can be toggled on and off.
  • A user can search through posts.
  • A user can sort posts by votes, date, and title.
  • : Animate posts as they are added and removed from the search results. Research Angular animations. See the video for an example implementation and links below for hints.
  • Style the app. It should look better than my implementation.

Bonus Features

  • A user can choose to sort ascending or descending.
  • TODO: A user can favorite posts and view all favorites in a separate tab.
  • TODO: Add persistence (localStorage, initially).
  • TODO: Add gulp tasks to minify and pipe to dist/docs folder and deploy.
  • TODO: A user can upload an image (no backend involved).

Animation-related Links

Other Links

About

Simple Reddit clone in Angular 1.5

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published