Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bayudc/warnetku

🖥️ Internet cafe(warnet) management system
https://github.com/bayudc/warnetku

administration bootstrap5 laravel mysql php warnet

Last synced: 2 months ago
JSON representation

🖥️ Internet cafe(warnet) management system

Awesome Lists containing this project

README

        

# 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](https://github.com/user-attachments/assets/bbd9ca73-11c3-4d66-810b-da741a317e1a)
![image](https://github.com/user-attachments/assets/c07cbd16-5e66-48bd-a2da-388fa6e00d18)
![image](https://github.com/user-attachments/assets/bd7f88cc-1ab6-4118-935b-c13237c51aa9)
![image](https://github.com/user-attachments/assets/68662b0d-c384-470c-b1c6-c558c64276f0)
![image](https://github.com/user-attachments/assets/e92e16a1-4859-4985-b4c2-f06101df8b1e)

## 💽 Database Structure

![image](https://github.com/user-attachments/assets/20e8dc77-1bae-49c3-a105-43e35a414996)

## 🛠️ 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