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.
- Laravel 9
- PostgreSQL
- Bootstrap
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 |
---|---|---|
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.
-
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.
-
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.
-
Only operator with Owner role can access this page. This page serves to manage operator data (CRUD).
-
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.
-
This page is about (simple)financial reports. It provides total income and transaction count for today, this month, and more.
# 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
- 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