This is a sample application that demonstrates an E-Commerce website using the ReactJs and APIs. The applicationloads products from Mysql databases and displays them.Users can interact the website with login/register process.Website uses cookies and local storage for save users data. Users can select for save users data.User can select to display products in single category.Users can click on any product to get more information including pricing and description. Users can buy selected item's with filling order details and also see the order details after the order.
Client: ReactJs
Server: Laravel APIs, MySql
POST /api/login
POST /api/register| Parameter | Type | Description |
|---|---|---|
Email |
email |
Required. Users email |
Password |
password |
Required. Users Password |
POST /api/add-product GET /api/products GET /api/product/{$id}| Parameter | Type | Description |
|---|---|---|
id |
integer |
Required. Product id |
POST /api/delete-product/{$id} POST /api/contactClone the project
git clone https://github.com/ParthMi/ReactJs-Laravel-E-commerceGo to the project directory
cd react-laravelInstall dependencies
npm installStart the server
npm start