First, create the database (and database user if necessary).
Copy from .env.example
and add them to the .env
file.
DB_DATABASE=your_db_name
DB_USERNAME=your_db_user
DB_PASSWORD=your_password
Then install, migrate
composer install
php artisan migrate
php artisan serve
The Submit Form will be running on localhost:8000
.
API of all user profiles can be called from localhost:8000/api/userProfiles
endpoint.
Endpoints can be called by with some parameters.
/api/userProfiles?name={name}
/api/userProfiles?gender={gender}
/api/userProfiles?marital_status={marital_status}
/api/userProfiles?address={address}
/api/userProfiles?birthday={birthday}
/api/userProfiles?name={name}&gender={gender}&address={address}