A Done List App.
Live Demo: http://doner.codeden.net/
Backend is PHP/MySQL written from scratch.
UI is built using React.js/Flux.
Schema create SQL is in api/doner.sql
mysql -u[user] -p[pass] [db] < api/doner.sql
Some demo data is in api/doner_data.sql
mysql -u[user] -p[pass] [db] < api/doner_data.sql
Composer is used for autoloading, so you need to get it and run in api/
php composer.phar update -o
DATABASE settings are the usual stuff.
AUTH_CLASS should be a namespaced class name implementing \Doner\Authorization\AuthorizationInterface
e.g.: \Doner\Authorization\CookieAuthorization
API_PATH relative to the website root
e.g. for http://somedomain.com/doner
it's /doner/api
, for http://doner.com
it's /api
You must have npm installed on your computer. From the root project directory run these commands from the command line:
npm install
This will install all dependencies.
To build the project, first run this command:
npm start
This will perform an initial build and start a watcher process that will update bundle.js with any changes you wish to make. This watcher is based on Browserify and Watchify, and it transforms React's JSX syntax into standard JavaScript with Reactify.
For a production build run:
npm run build
And change the script to bundle.min.js in index.html.