Aucs is a Chinese auction website based on CodeIgniter.
Aucs uses CodeIgniter 3.0 RC2, PHP 5.5, MySQL 5.5.3.
I used MAMP (download link) Version 3.0.7.3 (3.0.7.3) to get this up and running locally.
I downloaded MAMP and pointed it at the folder containing this repo. Then I started building.
I used phpStorm. There's the project in the repo too, so you can use that to edit this if you'd like.
There's a sql file in the sql folder that contains all the necessary code to bootstrap the database.
-
[√] Users can register.
-
[√] Users can log in.
-
Users can pay for ticket packages. (Via Stripe.)
-
Users can choose which prize packages to put in for.
-
[√] Organizers and users can log in.
-
Organizers can add prize packages.
-
Organizers can add prizes to packages.
-
Organizers can add ticket packages.
Menu:
- [√] The menu needs to change depending on login state and permissions.
- The menu needs to change depending on permissions level.
General:
- SSL protection.
- Lots of prettying up. The style is loosely based on the print/pdf auction booklet. (link here)
- Implement the endpoints outlined in the routes specification, which I designed during the brainstorm.
Login:
- Login needs to account for encryption. Whatever we choose needs to match the encryption scheme used for the sign ups.
- Server and/or client side input validation.
Sign Ups:
- Collect email, password, phone number, address.
- Validate all of this before creating a new record in the database.
Database:
- [√] Remove Organizer table and add a field is_organizer to the User table.
Orders:
There are two stages to user orders:
- Choosing how many tickets to pay for.
- Choosing which prize packages those tickets go towards.
I've stubbed all of the model classes, built the database, and started working on some of the views and controllers.
So this is a semi-public repository, which means that I obviously shouldn't be throwing private keys in here. I'm using default passwords on my local database, and will be changing all of that before deployment.
In a word, charity. Happy to share details privately.
CodeIgniter is under MIT.