hweihwang / laravel-pin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel PIN

This is a simple Laravel application that allows users to play a game of PIN.

Instructions

Change the PIN to match the one displayed on the screen. You have 3 tries to get it right. If you get it wrong, the PIN will change. If you get it right, you will be able to play again.

Simply change the configs at app/app/Modules/PIN/Actions/InitPinConfigsAction.php to change the PIN length, number of tries, and various other settings.

Remember to restart the container after making changes. You can do this by running docker-compose restart app

Or simply facilitate the docker-composer.dev.yml file to play around without the overhead of the container.

Installation

To run this repo, follow these steps:

  1. Clone the repository:

git clone https://github.com/hweihwang/laravel-pin.git

  1. Navigate to the project directory:

cd laravel-pin

  1. Make the make.sh script executable:

chmod +x ./make.sh

  1. Run the script:

./make.sh

  1. Wait for the script to finish running. It will take a few minutes to build the Docker image and start the container.

  2. Your application should now be running at http://localhost:19000

Prerequisites

Before running this repo, ensure that you have Docker installed on your system.

Technologies Used

  • Docker
  • Laravel
  • Laravel Octane
  • InertiaJS
  • TailwindCSS
  • Vue 3
  • Vite

About


Languages

Language:PHP 89.8%Language:Vue 7.2%Language:JavaScript 1.1%Language:TypeScript 0.6%Language:Dockerfile 0.5%Language:Blade 0.4%Language:Shell 0.4%Language:CSS 0.1%