Skip to content

scopeInfinity/anwesha-1

 
 

Repository files navigation

ANWESHA 2016

  • Website for anwesha 2016

##Instructions:

  • PHP version - 5.6.12
  • Apache : Apache/2.4.16 (Unix) OpenSSL/1.0.1p PHP/5.6.12 mod_perl/2.0.8-dev Perl/v5.16.3
  • MySQL : 5.6.26
  • Place the anwesha folder in your server's root direcory. If not then edit the RewriteBase in .htaccess accordingly.
  • Create database anwesha.
  • For creating database tables import migrations/anwesha.sql in mysql OR run migrations/setupdb.php
  • For populating database import migrations/data.sql in mysql OR run migrations/migrate.php
  • For generating random anwesha ID run migration/randomID.php
  • Use can change the caching time by updating $cache_time variable in the specific controller. Current cache time is 60 second.
  • For removing cached files - delete contents of /cache/ folder (/cache/*.hmtl)

Using Auth:

  • If accessing from web browser ignore this section(for web browser, session support is there).

For login:

  • use URL /login/
  • send username and password by POST. index - username, password
  • Response will contain user information. Private key is given in index key.
  • Further communication will take place by using private key and username

For user-event-registration:

  • use URL /register/dddd/dd (awnwesha id, event id)
  • add a POST request along with this.
  • generate any word.
  • put it on index 'content'
  • Use equivalent of PHP function has_hmac('sha256', content, privatekey) (salted hash) and put it on index 'hash'
  • send the request

TODO

  • Write setupdb.php.
  • Write Trigger to clean tables in 4-5 days.
  • Write backend for Campus Ambassador.(See below)
  • Testing Registration (User/Campus Ambassador).
  • Testing Events Details.
  • Testing Events Details [With Image rendering].
  • Add caching to Events.
  • Write fb/twitter/google/github register backend and frontend.
  • Add re-captcha on registration page.
  • Login for users.
  • Write registration for particular Event.
  • Write group registration.
  • Suggest list of colleges, cities, states. FRONTEND!
  • Use PHPMailer
  • Create a nice looking HTML page for email
  • Scheduling (Fontend + backend).
  • OTP!
  • Write backend for registration of Femina Miss India.
  • Login for Core/organizing committee
  • Expanded Features for above (delete/add registration, add/delete/edit teams)
  • Fee payment portal.

DEADLINE

  • Campus Ambassador Completion - 2 Nov 2015(Campus ambassador is already up, kindly migrate the data from the table using a script or get it done manually)
  • User Registration Completion - 4 Nov 2015
  • Event Page Completion - 4 Nov 2015
  • User Login - 16 Nov 2015
  • Events Registration - 16 Nov 2015
  • re-captcha on each page - 16 Nov 2015
  • FB Registration & Login - 16 Nov 2015
  • FB Integration - 7 Dec 2015
  • Login page for Core & Organising Committee - 14 Dec 2015

About

website for anwesha 2016

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 76.9%
  • CSS 10.7%
  • JavaScript 7.8%
  • HTML 4.2%
  • Shell 0.4%
  • Makefile 0.0%