- Clone repository
- Prepare a MySQL database (can be done quickly using Docker: https://hub.docker.com/_/mysql)
- If you intend to run tests, setup another database to run tests against
- Have PHP ^7.3|^8.0 with the required extensions for a basic Laravel project
- Install using Composer (https://getcomposer.org/)
- Create an environment file (
cp .env.example .env
) and fill in the database data. There is a testing environment file (.env.testing) in the repository - Run migrations:
php artisan migrate
- Run database seeders:
php artisan db:seed
- Use a webserver or run
php artisan serve
to run the application - Open
127.0.0.1:8000/api/questions/summary
(if using php artisan serve) for the summary of the answers to the survey - Run tests:
php artisan test
-
Notifications
You must be signed in to change notification settings - Fork 0
geeckon/survey
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published