/bookstore

A toy website

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Yet Another Bookstore

This is a online bookstore website.

Requirements

  • PHP 5+
  • MySQL 5.6+
  • Apache 2 (recommended)

Setup

  1. Create a MySQL user and a database schema;
  2. Edit the database configuration in util/config.php;
  3. Open admin/db_test_data.php in your browser to add the example data;
  4. Open index.html and see whether it works;
  5. Copy admin/db_test_data.php to a new file;
  6. Edit the file and add catalogs via db_cat_add();
  7. Open the file;
  8. The website is ready now.

License

The code is released under GPLv3.