Buy your products in Americanas just scanning then.
View Demos:
Front-end (PWA) |
Back-end
This project is a buy solution developed for MegaHack 2.0 (Shawee) for Americanas / B2W
(GET) http://r5-go.herokuapp.com/api/products
(GET) http://r5-go.herokuapp.com/api/products/{id}
(GET) http://r5-go.herokuapp.com/api/products/barcode/{barcode}
(GET) http://r5-go.herokuapp.com/api/category
(GET) http://r5-go.herokuapp.com/api/category/{id}
git clone https://github.com/pcampina/r5go-b2w
composer install
mv .env.example
$ php artisan key:generate
- Setup your .env
APP_NAME=Myapp
APP_ENV=local
APP_KEY=base64:your_generated_key by step 4
APP_DEBUG=true
APP_URL=http://localhost:8080
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=your_database
DB_USERNAME=your_user
DB_PASSWORD=your_password
If you want, use the demo sql in _db/ folder.