This project was generated with Symfony version 6.4.
Run composer install
for install the dependencies and framework bundles.
Open .env
and update your credential in below line.
Run Below command for migration and load default user into database.
php bin/console doctrine:database:create
php bin/console doctrine:migrations:migrate
php bin/console doctrine:fixtures:load
It will create one dummy user in the database with below email and password.
Password | |
---|---|
[email protected] | Admin@123 |
For the documentation of API you need to run asset install command.
You must need to set header X-AUTH-TOKEN
with each request. you can get this header value via login api /createClient
it will return token
. Example X-AUTH-TOKEN : 588954ff2809fdcb6eea6979f15e712572b9
php bin/console assets:install
Then navigate to the below url
GET /