Skip to content

AdolfoPastelin/Kiosk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kiosk

Kiosk application developed using React and Laravel frameworks along with MySQL as DB, this project utilizes APIs to facilitate seamless communication between the two platforms. Approach that leverages the robust capabilities of Laravel, particularly in terms of server-side logic and data management, while also benefiting from React's strengths in creating interactive and user-friendly interfaces.

Create Account Dark Mode Section Create new account with dark mode activated.

Log In Dark Mode Section Log in to an existing account with dark mode activated.

Validation Error Notification Validation example when creating an account.

Product Modal Info Product Modal Info with quantity selector.

New Product Added To Order Adding a new product to the order.

Menu and Order Dark Mode View Order, Menu and categories view with dark mode selected.

Admin Panel - Orders Admin Panel - Check for order details and mark "complete order" button functionality.

Admin Panel - Products Admin Panel - Check every product registered in the DB and mark as "out of stock" an specific product.

Kiosk Tablet View Kiosk tablet view with dark mode selected.

Installation

  • Create a new connection and a new database (using the database tool of your preference).

  • Clone the repository.

git clone https://github.com/AdolfoPastelin/Kiosk.git
  • Navigate to the project directory and install the dependencies.
cd project_directory_path/

For Laravel:

composer install

For React:

npm install
  • Generate your own application key.
php artisan key:generate
  • Create a .env file and fill it with your environment's details similar to the following example.
# .env file

APP_NAME=Laravel
APP_ENV=local
APP_KEY=YOUR_APP_KEY # (generated in the previous step)
APP_DEBUG=true
APP_URL=http://localhost

LOG_CHANNEL=stack
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=YOUR_DB_NAME # Could be Kiosk or any other name of your choice
DB_USERNAME=YOUR_DB_USERNAME
DB_PASSWORD=YOUR_DB_PASSWORD

# Allow port 3307 when port 3306 is already in use
FORWARD_DB_PORT=3307
  • Run the migrations.
php artisan migrate
  • (Optional) Seed the database with some data.
php artisan db:seed
  • Start the laravel server.
php artisan serve
  • In a new terminal window, navigate to the React app directory and start the React server.
npm run dev

About

Kiosk application developed using React and Laravel frameworks along with MySQL as DB.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published