Check demo here.
-
Install API application dependencies:
composer install
-
Copy
.envto.env.localand configureDATABASE_URL,CORS_ALLOW_ORIGIN,JWT_PASSPHRASE,MAILER_PASSWORDandMAILER_SENDER. -
Configure
config/packages/swiftmailer.yaml. -
Use
open-sslto create secret keys for JWT (passphrase should be the same asJWT_PASSPHRASE):openssl genrsa -out config/jwt/private.pem -aes256 4096 openssl rsa -pubout -in config/jwt/private.pem -out config/jwt/public.pem
-
Create the database and it's sctructure:
php bin/console doctrine:database:create php bin/console doctrine:migrations:diff php bin/console doctrine:migrations:migrate
-
Install frontend application dependencies:
npm install
-
Run dev server:
npm run dev-server