Part of a bachelor's thesis exploring the usage of single page applications and JWTs.
A demo can be found on http://notes.lehnerdt.eu/ Use only for testing! Privacy of notes saved cannot be guaranteed.
You need to have PHP, Composer and npm installed on your System.
composer update to download PHP packagesnpm install to download JS dependenciesCopy env to .env and tailor for your app, specifically the baseURL
and any database settings. As well as setting a JWT secret key JWT_SECRET_KEY and token validity periods
php spark servenpm run devBuild database with
php spark migrateAdd optional sample Data to the Database with
php spark db:seed UserSeederphp spark db:seed NoteSeederphp spark db:seed CategorySeederFor deployment set environment to production in .env.
Compile JS with
npm run buildPHP version 7.3 or higher is required, with the following extensions installed:
Additionally, make sure that the following extensions are enabled in your PHP: