#ENGLISH This project already has an auth token sanctum register, login and logout
HOW TO WORK
- cp .env.example .env
- Edit .env
- DB_DATABASE=your-database-name
- DB_USERNAME=your-database-username
- DB_PASSWORD=your-database-password
- composer update
- php artisan jwt:secret
- php -S localhost:8000 -t public
- Check on Postman
- Don't forget uncomment code route get /key (in folder routes file web.php) for APP KEY
- Open browser http://localhost:8000/key
- Copy to .env in APP_KEY=
- Finish!
============
#INDONESIA
Proyek ini sudah memiliki auth token sanctum register, login dan logout
CARA MENGGUNAKAN
- cp .env.example .env
- Edit DB_DATABASE=nama-database-kamu
- composer update
- php artisan serve
- Cek di Postman
- composer update
- php artisan jwt:secret
- php -S localhost:8000 -t public
- Check on Postman
- Jangan lupa buka comment kode route yang get /key (Di dalam folder routes file web.php) untuk nanti di isi pada APP_KEY
- Open browser http://localhost:8000/key
- Copy to .env in APP_KEY=
- Selesai!
#POSTMAN
- REGISTER
- LOGIN
- LOGOUT
- GET USER