Giter VIP home page Giter VIP logo

lrisia / ku-newyear-2566 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 277.4 MB

Web application for Kasetsart University's employee to register new year party and lucky draw

Home Page: https://newyearregis.ku.ac.th

PHP 47.19% JavaScript 0.73% CSS 0.06% Vue 17.63% Blade 34.39%
laravel vue3 docker docker-compose html5 javascript mail mqtt-client mqtt-protocol mysql qr-code redis scan-qrcode tailwindcss vuejs

ku-newyear-2566's Introduction

KU New Year 2566

งานขอบคุณบุคลากร มหาวิทยาลัยเกษตรศาสตร์

Versions

  • 2.0.16
    • changes from last meeting
    • separate random from video
    • use redis to manage showing page
    • change video
    • manual register via command register:manual
  • 2.0.10
    • search from redis
    • use redis as data cache
  • 2.0.6
    • staff can add new employee
  • 2.0.5
    • change typo of halal
  • 2.0.2
    • Newyear 2023 version
  • 1.0.0
  • 0.2.1
    • change some processes from requirement
  • 0.1.6
    • entrance and prize
  • 0.1.5
    • stop registration before 21 Dec
  • 0.1.4
    • import extra employee
  • 0.1.3
    • staff view registration stats by organization
  • 0.1.2
    • fix invalidate email format
  • 0.1.1
    • paginate data with iteration counter
  • 0.1.0
    • show registered employee in search result of registration
  • 0.0.6
    • First Deploy

Development setup

install composer dependencies

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

config .env

cp .env.example .env

alias sail

alias sail='[ -f sail ] && bash sail || bash vendor/bin/sail' 

Build container with sail

sail up -d

SetUP

sail artisan key:generate

Executing Node / NPM Commands

sail npm install
sail npm run watch-poll

Migration

sail artisan migrate

migrate and seed

sail artisan migrate --seed

Command

  • Employee Importer
    • add file employee.csv in storage/app/data
    • sail artisan employee:import <employee.csv>
  • Test Send Email
    • sail artisan email:send <email>
    • Command will find email in table employees and send email with link of QR Code
  • MQTT Publisher
    • sail artisan mqtt:publish <topic> <message>
    • use kunewyear2566 as <topic>
  • Draw prize
    • sail artisan prize:draw <prize_id>
    • Command will draw a prize with given id

ku-newyear-2566's People

Contributors

saacsos avatar lrisia avatar ployputita avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.