GithubHelp home page GithubHelp logo

geekhaven / geekhaven-2020 Goto Github PK

View Code? Open in Web Editor NEW
21.0 9.0 15.0 27.32 MB

The 2020 revamp of GeekHaven

Home Page: https://geekhaven.iiita.ac.in/

HTML 24.71% CSS 34.48% JavaScript 18.18% PHP 22.63%

geekhaven-2020's Introduction


GH-logo

GeekHaven-2020

โญ Star us on GitHub โ€” it helps!

A complete revamp of the official website of GeekHaven(IIIT-A), with an aim for a dynamic and unique website that can be used in upcoming sessions too.

๐Ÿ’ป Live-Link

GeekHaven

๐Ÿ“ท Few snaps of the site

๐Ÿงพ Table of contents

  • Dependencies
  • Setup
  • Brief Repo Strucutre
  • Frontend Frameworks
  • Schema
  • What Makes It Unique
  • Footnotes

๐Ÿ›  Dependencies

You can install it from here: Xampp

๐Ÿš€ Setup

Get the code by cloning this repository using git

git clone  https://github.com/GeekHaven/GeekHaven-2020/

Once downloaded, open the index.html file in your browser and you're good to go ๐ŸŽ‰

For Database Setup

  • Copy and Paste all the folders in htdocs of Xampp.

  • For creating database and tables for the first time hit url http://localhost/GeekHaven-2020/onstart.php.

  • There you will get a msg "database created".

  • A username='exUser' and password='exPass' will be created for login.

  • Now head to http://localhost/GeekHaven-2020/geekhaven/login.php for login.

๐Ÿ“š Brief Repo Structure

/
|-- complete_list/			
 |-- announcements/   #listing of all announcements
 |-- projects/        #listing of all projects
|
|-- database/         #for storing announcements,projects,members-details etc...
|
|-- hall_of_fame/     #files for hall of Fame section
|
|-- geekhaven/        #for dynamically entering/updating blogs,members-details and other credentials
|
|-- images/	      #SVGs and PNGs used in the project
|
|-- wings/	      #HTML and CSS files of each wing
|
|-- index.html	      #HTML of index GeekHaven page

๐ŸŽˆ Frontend frameworks

Following CSS and Js frameworks/libraries are included in the project:

๐Ÿท Schema

Login Credential Social Handles Member/Coordis Projects Blogs Announcement Wing Hall of Fame
username Github wing wing_id(F) wing_id(F) name name achievement
password Mail-Id post description description details info project link(opt)
Admin Value(0/1) Facebook session image image date wing_id(P) member/coordi(F)
cred_id(P) Instagram(opt) cred_id(F) project link blog link venue logo
member_id(F) Codechef(opt) member_id(P) source code link member_id(F) organizer
Codeforces(opt) roll.no member_id(F) blog title venue
LinkedIn image project name topic
Hackerearth(opt) name link(opt)
Hackerrank(opt) description image
Twitter(opt) social handles(F) made by(F)
table_id(P) HOF attachment
table_id(P) HOF time

P -> Primary Key, F -> Foreign Key
opt -> Optional

๐Ÿงฉ What Makes It Unique

The special thing about the 2020 Revamp project is that we're making the website dynamic, so that the data can be updated without hampering the code, simply by the use of some PHP and MySQL.

CRUD functionality

Projects, Blogs, Announcements and even the PNGs and SVGs can be created/read/updated/deleted anytime.

Transfer of Authority

During each session of GeekHaven it's members and coordis will have the authority to update/delete data dynamically with the help of their login credentials, which will be changed in the next session for its's members, which will help not hampering the code anytime for data manipulation.

Hall of Fame

Selected people with their achievements will be showcased with their projects/contests results.

Theme Toggle functionality

A simple yet creative idea, you can toggle between dark and light mode in the website anytime, and your preference will be stored for future.

Overall Theme

Keeping in mind the aesthetic look of the website, the theme of website is minimalist, unique and uniform.

โœ’ Footnotes

Aim of this project is to reduce the work for the upcoming years, so that the same website can be used without changing any piece of code, just simply update the members details dynamically and you're good to go.

Hall of Fame

  • The Hall of Fame is implemented using .csv file parsing thus the data can be updated by changing the HOF.csv file in hall_of_fame directory.
  • To store images, save them in the hall_of_fame/assets folder and specify the image name in the csv file, along with the extension.

geekhaven-2020's People

Contributors

abhay0o7 avatar abhiandthetruth avatar alacritouscreature avatar garvitchittora avatar homewardgamer avatar infern018 avatar mitul16 avatar mudit018 avatar pradhuman1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

geekhaven-2020's Issues

[Enhancement] Announcements is buggy!

Following are the problems:

  1. I, subjectively, don't like the display image of announcements on wing page.
  2. There is no, announcement specific page, where the details of a particular announcement is listed.
  3. There is a topic field in add Announcement page, which I don't understand.
  4. The organizer in the add Announcement page is text field requiring exact wing names, which is inconvenient.

There are two possible solutions to this problem:

  1. Fix the above issues, which can be done.
  2. Drop the feature entirely, in lieu of Caliiita. This can cause redundancy.
  3. Somehow, integrate this with Caliiita backend.

WDYT @garvitchittora @infern018 @pradhuman1 ?

Horizontal scrolling [FEATURE]

Nowadays, there is a new trend to represent your website in a horizontal scroll mode.
It gives users something different and new experience with the website(something like hattke).
<!__ Ways to implement __>
We know that this is a new trend so maybe some users didn't like that so we can either ask the user before opening the website which mode they prefer or we can just implement a switch for that just like dark and light mode and personally, I prefer the second option.
And definitely, we can make the website a completely horizontal scroll only.

<!__ How to implement __>
This can be implemented directly using the CSS only but sometimes this method may fail so one should go with the native javascript and can implement this feature.

Thank you
Abhay

Project Card

1)Add img tag in project card
2)A button is required for Blog link(if available) in project card.
3)A button is required for Source Code link in project card.

Shifting of the wing image

So I created a new wing and uploaded the respective assets. But when I went to the wing page the wing image was offset. Have a look,
image
First of all why is this happening. Secondly, what is the probable fix?

[Refractoring] Clear the branches

Please delete all the branches that are not required and push the latest updated code in a single branch(main).
Then I will push the credential security added by me into the main branch.

Ambiguity of Web link in Wing creation

In the onstart.php file, the wings table contains five columns wing_id, wing, info, logo, image whereas during creation, the savewing.php runs the query INSERT INTO wings VALUES('$wing_id','$wing','$info','$logo','$image','$link') which contains 6 fields which obviously causes an error.
I suggest to remove the link param for good and use the url of the form http://geekhaven.com/wings.php?id=wing_id. Please fix this asap!

Removal of unwanted assets

Since we have made the sites dynamic, there is no need for static assets unless uploaded. Remove all the static assets and make a repo(any of the dev can do it) and I will then transfer it to Geekhaven. Feel free to discuss alternatives.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.