A super basic wiki.
git clone {repo}
- Install vendors
composer install
npm install
- Create db & populate data
php vendor/bin/doctrine orm:schema-tool:create
php vendor/bin/phinx seed:run
- Run php web server:
php -S localhost:8000 -t public
- Run client:
npm run serve
- Access http://localhost:9009
This project uses sqlite for the database. The location can be found in db/database.sqlite
A rough sketch for the supposed super basic wiki project.
Create a reference table for the parent and child relationship for sorting out Wiki positioning.
- react-router
- Server wildcard routing/subdomain for dynamic Wiki urls
- Reorder of wiki/pages
- Edit content
- Parent and sub-wikis
- dotenv for configurations
- Utilize our bundler or use webpack
- Pagination for GET requests
- Integrate Datatables
- (Nice to Haves) [phpcs, phpbf, phpstan, grumphp]
- (In the future) [PHPUnit, Jest]