simple laravel project with inertiajs , react to customer point management
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Aji Kamaludin 1374340b4d
done
1 year ago
app done 1 year ago
bootstrap init 1 year ago
config customerimport done 1 year ago
database point customer done 1 year ago
lang/en init 1 year ago
public point customer done 1 year ago
resources done 1 year ago
routes point customer done 1 year ago
storage init 1 year ago
tests init 1 year ago
.editorconfig init 1 year ago
.env.example init 1 year ago
.gitattributes init 1 year ago
.gitignore init 1 year ago
Dockerfile init 1 year ago
README.md customerimport done 1 year ago
artisan init 1 year ago
composer.json customerimport done 1 year ago
composer.lock customerimport done 1 year ago
default.conf init 1 year ago
docker-compose.yml customerimport done 1 year ago
jsconfig.json init 1 year ago
package-lock.json init 1 year ago
package.json init 1 year ago
phpunit.xml init 1 year ago
pint.json init 1 year ago
postcss.config.js init 1 year ago
tailwind.config.js init 1 year ago
user.ini init 1 year ago
vite.config.js init 1 year ago

README.md

Customer Point

Just a simple app to record customer poin and web to access poin gain

Support me

Trakteer Saya

Requirements

  • PHP 8.1 or latest
  • Node 16+ or latest

How to run

prepare env

cp .env.example .env # configure app for laravel
touch database/database.sqlite # if you use .env.example with default sqlite database
composer install
npm install

use php server

php artisan migrate --seed # create table for db and seed data
php artisan key:gen
php artisan ser #keep run to dev

compile asset

npm run dev # compiling asset for development # keep run for dev

easy way

docker compose up -d

Default User

username : admin@admin.com
password : password

Compile Assets ( to prod )

npm run build
$faker = Faker\Factory::create();
foreach (range(0,1000) as $range) {
    echo $faker->regexify('[A-Z]{5}[0-4]{3}').', '.$faker->name.','.$faker->randomNumber(3, false). "\n";
}