Skip to content

🖥️ Internet cafe(warnet) management system

Notifications You must be signed in to change notification settings

BayuDC/warnetku

Repository files navigation

Warnetku

Warnetku is a web app for managing computer, operator, rental price and rental transaction in an internet cafe(it's called warnet in my country). This app is made to ease the work of internet cafe operators. For example, determine the price to be paid by the customer.

🧩 Stacks

  • Laravel 9
  • PostgreSQL
  • Bootstrap

✨ Demo

Web url 1: https://warnetku.up.railway.app
Web url 2: https://warnetku.herokuapp.com

you can use the account below for login access

Username Password Role
operator0 operator0 Owner
operator1 operator1 Worker

All data in this demo web are fake data generated by FakerPHP.

Sorry there is no online demo. They are paid now and i am very poor. Please clone this and use your machine if you want to try this web app.

📑 Documentation

  • Computer

    Operator can see a list of all computers, along with their type and status. There are two types of computers: Gaming and Office. Computer status can be Used by ... or Idle. Operator with Owner role can perform create, update and delete operations.

  • Price

    Operator can see a list of all rental prices, but can't perform add, update and delete operations. Only operator with Owner role can do that thing.

  • Operator

    Only operator with Owner role can access this page. This page serves to manage operator data (CRUD).

  • Transaction

    Operator cam add rental transaction at here. Operator can see other operator transaction but can't update and delete it. Each operator can only update and delete their own transaction. Except operator with Owner role. The owner can update and delete other operator's transactions.

  • Report

    This page is about (simple)financial reports. It provides total income and transaction count for today, this month, and more.

📸 Screenshots

image image image image image

💽 Database Structure

image

🛠️ Development

# Clone the project
$ git clone https://github.com/BayuDC/warnetku.git
$ cd warnetku

# Install dependencies
$ composer install

# Create env file
$ cp .env.example .env

# Set all required variables
$ nano .env
# or using your favorite text editor

# Generate encryption key
$ php artisan key:generate

# Database migration
$ php aritsan migrate
# with seed
$ php artisan migrate --seed

# Run dev server
$ php artisan serve

📝 Todo

  • Implement naming route ✅
    All routes in this project are anonymous(except login). Redirect actions and anchor elements are use hardcoded route.
  • Make fast and clean code ✅
    There is still inefficient and repetitive code