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.

57 lines
1013 B
Markdown

1 year ago
# Customer Point
Just a simple app to record customer poin and web to access poin gain
1 year ago
## Support me
<a href="https://trakteer.id/ajikamaludin" target="_blank"><img id="wse-buttons-preview" src="https://cdn.trakteer.id/images/embed/trbtn-blue-2.png" height="40" style="border:0px;height:40px;" alt="Trakteer Saya"></a>
## Requirements
1 year ago
- PHP 8.1 or latest
- Node 16+ or latest
1 year ago
## How to run
1 year ago
prepare env
1 year ago
```bash
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
1 year ago
```
use php server
```bash
php artisan migrate --seed # create table for db and seed data
php artisan key:gen
php artisan ser #keep run to dev
```
compile asset
```bash
npm run dev # compiling asset for development # keep run for dev
```
<hr/>
easy way
```bash
docker compose up -d
1 year ago
```
## Default User
```bash
username : admin@admin.com
password : password
```
## Compile Assets ( to prod )
```bash
npm run build
```