The archived website of Code To Create, ACM-VIT's first-ever hackathon, held during graVITas 2015.
Features · Quick start · Architecture · Docs · Roadmap · Contributing
Note
Status: archive. This site was built between 2 and 16 August 2015 and hasn't changed since. It's kept as a snapshot of where ACM-VIT's hackathon started. The c2c.acmvit.in domain now serves a later edition of Code2Create, not this code.
In 2015, ACM-VIT (the ACM student chapter at VIT University, Vellore) ran its first hackathon as part of the graVITas 2015 tech fest. The event pitched itself as "the premier platform which aims to achieve solutions to everyday issues based on a set of themes through innovation, creativity and power of coding." It needed a home on the web: somewhere to pitch the themes, publish the schedule and rules, introduce the team, and take registrations. Three students built that site in two weeks, mixing hand-written pages with borrowed templates and a small PHP + MySQL back end.
A particles.js hero ("Create. Innovate. Learn."), an intro to ACM-VIT and graVITas 2015, past events, the six hack themes, a quote carousel, sponsors and register buttons. See index.html.
|
Multimedia · Education · Healthcare · Social Welfare · Data Science · Internet of Things, each with its own icon from new-assets/icon-list/.
|
An animated vertical timeline that runs from commencement and pitching through the overnight hack to final pitches and prize distribution. See schedule/schedule.html.
|
Teams of two to four builders, everything made during the hack, open-source and third-party APIs allowed, a code review for top teams, and a code of conduct. |
The chapter's story (started in October 2009) and the 2015 core committee. See about-us/aboutUs.html.
|
The VIT campus address, a map link and a contact form. contact-us/index.php stores messages in a MySQL contact table.
|
A Material Admin–styled form for registration number, email, phone, theme, abstract, tech skills and past projects. registration-page/index.php saves it with mysqli.
|
db.sql creates the contact and registrations tables in a hack database (a phpMyAdmin dump from MySQL 5.6).
|
A static multi-page site with two PHP endpoints. The content pages share the same header, nav and footer markup, and load the theme bundle from wp-content/ plus images from new-assets/.
flowchart TB
V(["Visitor"]) --> HOME["index.html<br/>landing page"]
HOME --> SCH["schedule/schedule.html"]
HOME --> RUL["rules-regulation/rulesAndregulations.html"]
HOME --> PS["problem-statements/problemStatements.html"]
HOME --> ABT["about-us/aboutUs.html"]
HOME --> CON["contact-us/"]
HOME -->|"Register buttons"| RT["reg-temp/reg-temp.html<br/>sign-in placeholder"]
CON --> CPHP["contact-us/index.php<br/>contact form + handler"]
P(["Participant"]) --> REG["registration-page/index.php<br/>registration form + handler"]
CPHP -->|"INSERT INTO contact"| DB[("MySQL · hack<br/>contact · registrations")]
REG -->|"INSERT INTO registrations"| DB
subgraph SHARED["Shared assets"]
WP["wp-content/<br/>theme CSS/JS bundle · Bootstrap · Materialize"]
NA["new-assets/<br/>logos · theme icons · photos · jQuery"]
end
HOME -.-> SHARED
docs/ARCHITECTURE.md covers each page, the registration and contact flows (with a sequence diagram), the data model, and a list of known issues.
All you need is Python 3, or any static file server.
git clone https://github.com/abhinav-adtechs/Code-To-Create.git
cd Code-To-Create
python3 -m http.server 8000Open http://localhost:8000/.
Tip
The home page nav links point at folders (schedule/, about-us/, …), which a plain static server shows as directory listings. Open the pages directly instead:
/schedule/schedule.html/rules-regulation/rulesAndregulations.html/problem-statements/problemStatements.html/about-us/aboutUs.html/contact-us/contactUs.html
The original 2015 instructions said to "use XAMPP and create the database". That still works. If you'd rather use PHP's built-in server, you need PHP with the mysqli extension and a local MySQL:
mysql -u root -e "CREATE DATABASE IF NOT EXISTS hack"
mysql -u root hack < db.sql
php -S localhost:8000Then open http://localhost:8000/registration-page/ or http://localhost:8000/contact-us/.
Warning
The PHP handlers were written for PHP 5.5 and MySQL 5.6 (per the db.sql header). They build SQL by string concatenation, so run them only on your own machine and never expose them publicly. Hardening is on the roadmap.
There are no environment variables. Database settings are hard-coded at the top of each PHP handler:
| Variable | Value in the code | Where |
|---|---|---|
$servername |
localhost |
registration-page/index.php, contact-us/index.php |
$username |
root |
same |
$password |
empty (XAMPP default) | same |
$dbname |
hack |
same |
Code-To-Create/
├── index.html # landing page
├── about-us/aboutUs.html # chapter story + 2015 core committee
├── schedule/
│ ├── schedule.html # event timeline
│ ├── main.html # the vertical-timeline template it was built from
│ └── css/ js/ img/ scss/ partials/
├── rules-regulation/rulesAndregulations.html
├── problem-statements/problemStatements.html # "will be updated soon" placeholder
├── contact-us/
│ ├── contactUs.html # static contact page
│ └── index.php # contact page + PHP handler → `contact` table
├── reg-temp/reg-temp.html # sign-in style placeholder
├── registration-page/
│ ├── index.php # registration form + PHP handler → `registrations` table
│ ├── hack.sql # earlier schema (registrations only)
│ ├── assets/ # Material Admin / BoostBox template CSS + JS (~9 MB)
│ └── materialadmin/forms/ # template demo pages
├── homepage/index.html # meta-refresh to the pre-2.2 homePage.html
├── db.sql # MySQL schema for the `hack` database
├── new-assets/ # logos, theme icons, quote portraits, team photos, sponsor logos
└── wp-content/ # mirrored WordPress theme bundle: minified CSS/JS, images (~8 MB)
docs/ARCHITECTURE.md: pages, assets, registration and contact flows, data model, known issuesCHANGELOG.md: the site's history from "Update 1.2" to the final August 2015 buildCONTRIBUTING.md: local setup, conventions and the PR checklist
The 2015 README listed two pending tasks: styling the registration form's inputs, and importing fonts through a font API. Both are folded into the list below.
- Save the participant's name on registration (the input has no
nameattribute) - Use prepared statements and move DB settings out of the PHP source
- Point the static contact page's form at the local handler instead of a third-party URL
- Fix broken links and case-sensitive asset paths
- Finish the 2015 to-dos: load fonts through a font API and style the registration inputs
- Accessibility pass:
alttext, form labels and colour contrast - Prune unused template payload from
registration-page/assetsandwp-content - Add screenshots of the 2015 site to this README
This is an archive, but fixes that make it easier to run, browse or learn from are welcome. See CONTRIBUTING.md.
- ACM-VIT, the ACM student chapter at VIT University, which organised Code To Create and whose 2015 core committee appears on the Team page.
- Abhinav Das: site structure, pages and most commits.
- Ashwini Purohit: contact-form back end (#2), database schema (#3), home-page routing (#5) and an early résumé/abstract upload handler (#1).
- Rishi Raj: registration-page fonts and styling (#6, later reverted in #7).
MIT © 2015–2026 Abhinav Das
Important
The MIT license covers the original code in this repository. Bundled third-party material stays under its owners' terms. That includes:
- the mirrored WordPress theme assets in
wp-content/ - the Material Admin and BoostBox template files in
registration-page/ - jQuery, Bootstrap, Materialize, Modernizr and the vertical-timeline template
- web fonts, stock imagery, and the ACM, graVITas and sponsor logos
Built by Abhinav Das with ACM-VIT
If this project helped you, consider giving it a ⭐

