Skip to content

Ratchaphon1412/EventHub

Repository files navigation

Laravel Logo

Build Status Total Downloads Latest Stable Version License

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

Initialize Project

🪟 For Windows, use WSL (Windows Subsystem for Linux) only. Verify with the command `whoami` that you receive a UNIX Username that has been previously set up. If you get 'root' as the result, it indicates incorrect configuration.

1. Set up an alias for the sail command:

🪟 (wsl) Run 'echo "alias sail='[ -f sail ] && sh sail || sh vendor/bin/sail'" >> ~/.bashrc' ⚡ (zsh) Run `echo "alias sail='[ -f sail ] && sh sail || sh vendor/bin/sail'" >> ~/.zshrc`

2. Close and reopen the terminal for changes to take effect.

3. Run the following command to install the Composer dependencies using Laravel Sail's PHP 8.2 container:

docker run --rm \
    -u "$(id -u):$(id -g)" \
    -v "$(pwd):/var/www/html" \
    -w /var/www/html \
    laravelsail/php82-composer:latest \
    composer install --ignore-platform-reqs

2. Create a .env file by executing the following command:

cp .env.example .env

3. Edit the .env file with the following values:

1. `APP_NAME={name}` (Line 1)
2. `DB_HOST=mysql` (Line 12)
3. `DB_USERNAME=sail` (Line 15)
4. `DB_PASSWORD=password` (Line 16)
5. `REDIS_HOST=redis` (Line 27)

4. Edit smtp email

- MAIL_HOST=smtp.gmail.com
- MAIL_PORT=465
- MAIL_USERNAME={your email}
- MAIL_PASSWORD={your password}

5. Get google API key by following these step

view

- GOOGLE_API={API Key} (line 61)

6. Run the command sail up -d (Make sure that services from other projects are already down).

- If you encounter issues in step 4, make sure to perform the following steps:
    - Run `sail down`
    - Delete Docker Volumes with names matching your project directory name suffixed with `_sail-mysql`, e.g., `EventHub-...._sail-mysql`
    - Run `sail build --no-cache`
    - Run `sail up -d` again

7. Generate the APP_KEY in the .env file by running the command:

sail artisan key:generate

8. Use Yarn instead of npm

Use the following command to use Yarn for installing dependencies:

sail yarn install

9. Command for Processing CSS with Yarn

Use the following command to process CSS using Yarn:

sail yarn dev

10. Initialize storage

mkdir storage/app/public/images
sail artisan storage:link

11. You can use dummy data with

sail artisan migrate:fresh --seed

or you can use empty data with

sail artisan migrate

Feature

Security:

  • register
  • authentication user
  • two-factor authentication
  • change password
  • policy
  • browser sessions
  • verify user

User:

  • view general information of event such as location budget
  • join event
  • edit profile
  • delete account
  • notification when event announcement
  • create own event

Event:

  • CRUD event
  • add another user to team
  • CRUD kanban
  • CRUD question
  • view applicant answer
  • change applicant status
  • team management
  • team notification when update event
  • certificate

Owner Event User:

wire frame and prototype

figma

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published