Skip to content

gillybeans/hacker-news

Repository files navigation

hacker-news

Assignment to create a Hacker News clone.

All features are done, but, I'm going to work on CSS

Built with:

  • PHP
  • HTML
  • CSS
  • JavaScript
  • SQL

Installation:

1. To be able to see the webpage, clone the repository through your terminal.

$ git clone https://github.com/gillybeans/hacker-news.git 

2. Go to the cloned repo.

$ cd hacker-news 

3. Start a local server. (4 digits, any work)

$ php -S localhost:8000 

Open the file in your browser.

Code Review

  • 1.Are you using Prettier? Looks like some files would do good by some added structure.
  • 2.The “Your Submissions” url is broken under "My Profile".
  • 3.Would be nice to give the articles the target=“_blank” HTML attribute, so that they still stay at your site while reading outside content.
  • 4.Not possible to change ones password atm.
  • 5.Not able to create a post atm.
  • 6.Would be nice to be able to change ones profile picture.
  • 7.The “Delete Account” url is broken under "My Profile".
  • 8.When you want to fetch multiple rows from your database fetchAll will be a good friend to you.
  • 9.Comments are currently missing.
  • 10.To keep track of your users, make sure they get an individual id in the database. Currently it’s unfortunately showing “null”.

Keep going at it! You got this! 💪 ⚡ PS. I love your Psyduck avatar placeholder!

About

Assignment to create a Hacker News clone.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published