Thanks to visit codestin.com
Credit goes to github.com

Skip to content

hardiksurana/projecthunt

Repository files navigation

Projecthunt

Projecthunt is a website where anyone can showcase their side-projects and get real-time feedback from other equally enthusiastic users. It can be used as a platform for finding and sharing creative and innovative ideas and view other trending projects in their college and show their support. Another purpose of the website is to provide a common platform for viewing and sharing views about a variety of projects.

Getting Started

  • Clone the repository
  • Create the database and tables
  • Open hompeage.php in localhost

Prerequisites

Create the following tables with the respective columns:

  • users - For all users
+------------+-------------+------+-----+---------+----------------+
| Field      | Type        | Null | Key | Default | Extra          |
+------------+-------------+------+-----+---------+----------------+
| user_id    | int(11)     | NO   | PRI | NULL    | auto_increment |
| image      | longblob    | YES  |     | NULL    |                |
| user_name  | varchar(50) | YES  |     | NULL    |                |
| user_email | varchar(50) | YES  |     | NULL    |                |
| user_pass  | varchar(50) | YES  |     | NULL    |                |
| image_name | varchar(100)| YES  |     | NULL    |                |
+------------+-------------+------+-----+---------+----------------+

  • projects - For all projects
+--------------+--------------+------+-----+---------+----------------+
| Field        | Type         | Null | Key | Default | Extra          |
+--------------+--------------+------+-----+---------+----------------+
| project_id   | int(11)      | NO   | PRI | NULL    | auto_increment |
| user_id      | int(11)      | NO   |     | NULL    |                |
| project_name | varchar(100) | YES  |     | NULL    |                |
| short_desc   | varchar(50)  | YES  |     | NULL    |                |
| num_likes    | int(11)      | YES  |     | NULL    |                |
| main_image   | longblob     | YES  |     | NULL    |                |
| long_desc    | varchar(200) | YES  |     | NULL    |                |
+--------------+--------------+------+-----+---------+----------------+
  • comments - For all comments
+------------+---------+------+-----+---------+----------------+
| Field      | Type    | Null | Key | Default | Extra          |
+------------+---------+------+-----+---------+----------------+
| comment_id | int(11) | NO   | PRI | NULL    | auto_increment |
| user_id    | int(11) | YES  |     | NULL    |                |
| project_id | int(11) | YES  |     | NULL    |                |
+------------+---------+------+-----+---------+----------------+

Built With

Contributors

About

Web Tech Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published