This is a simple catalogue that demonstrates the understanding of querying from a RESTful API.
This client portal includes user login, register, add product, submit order function
This admin portal includes manage product, user order function
- fetch product from live endpoint go to manage product page (admin/wp-products), and click the [ Synchronize Products ] button to fetch the products
- Clone the repo and
cd
into it. (git clone https://github.com/jianhui99/simple-eCommerce-app.git) composer install
- Rename or copy
.env.example
file to.env
php artisan key:generate
- Set your database credentials in your
.env
file php artisan migrate
php artisan db:seed
npm install
npm run dev
php artisan serve
. This will migrate the database- Visit
localhost:8000
in your browser - Visit
/admin
if you want to access the laravel admin backend. Username: admin, Password: admin.