Skip to content

📋 Create, share and aggregate surveys with others. Built with Laravel, Inertia and React.

License

Notifications You must be signed in to change notification settings

dayvidwhy/benchmark

Repository files navigation

Benchmark

GitHub issues GitHub pull requests GitHub

Benchmark provides a user-friendly interface for conducting surveys and aggregating the results.

Prerequisites

Before you begin, ensure you have the following installed:

  • Docker
  • Git

Getting Started

The development environment is provided by containers.

git clone git@github.com:dayvidwhy/benchmark.git
cd benchmark

# Copy the example env file and update the variables.
cp .env.example .env

# Start the containers
docker-compose up --build

To access the application, open your web browser and navigate to localhost:8000.

Useful commands

# list routes provided by the app
php artisan route:list --except-vendor

# create a new model with migration
php artisan make:model Survey -m

# view the database
php artisan db:show

# migrate the database
php artisan migrate

# rollback the last migration
php artisan migrate:rollback

# create a migration
php artisan make:migration [useful_migration_name]

If you want to inspect a particular table;

# Start the php CLI
php artisan tinker
// View the user table
$table = App\Models\User::all();

VSCode Integration

For an optimized development experience, attach VSCode to the running app container:

  1. Use the command palette (Ctrl+Shift+P or Cmd+Shift+P on Mac) and select: >Dev Containers: Attach to Running Container...
  2. Choose /benchmark-php-1 from the list.

About

📋 Create, share and aggregate surveys with others. Built with Laravel, Inertia and React.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published