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 f2307117ca
add reset button
10 months ago
app add reset button 10 months ago
bootstrap init 10 months ago
config customerimport done 10 months ago
database point customer done 10 months ago
lang/en init 10 months ago
public point customer done 10 months ago
resources add reset button 10 months ago
routes add reset button 10 months ago
storage init 10 months ago
tests init 10 months ago
.editorconfig init 10 months ago
.env.example init 10 months ago
.gitattributes init 10 months ago
.gitignore init 10 months ago
1.png update readme 10 months ago
2.png update readme 10 months ago
Dockerfile init 10 months ago
README.md update readme 10 months ago
artisan init 10 months ago
composer.json customerimport done 10 months ago
composer.lock customerimport done 10 months ago
default.conf init 10 months ago
docker-compose.yml customerimport done 10 months ago
jsconfig.json init 10 months ago
package-lock.json init 10 months ago
package.json init 10 months ago
phpunit.xml init 10 months ago
pint.json init 10 months ago
postcss.config.js init 10 months ago
tailwind.config.js init 10 months ago
user.ini init 10 months ago
vite.config.js init 10 months 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

Screenshot

image1 image2

Other

$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";
}
rsync -arP -e 'ssh -p 224' --exclude=node_modules --exclude=.git --exclude=.env --exclude=storage --exclude=public/hot . arm@ajikamaludin.id:/home/arm/projects/point

rsync -arP -e 'ssh -p 224' --exclude=node_modules --exclude=database/database.sqlite --exclude=.git --exclude=.env --exclude=storage --exclude=public/hot . arm@ajikamaludin.id:/home/arm/projects/point