Skip to content

ParthMi/ReactJs-Laravel-E-commerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

ReactJs-Laravel E-Commerce

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.

Tech Stack

Client: ReactJs

Server: Laravel APIs, MySql

API Reference

Login/Register API

  POST /api/login
  POST /api/register
Parameter Type Description
Email email Required. Users email
Password password Required. Users Password

Add Product API

  POST /api/add-product

Get all products API

  GET /api/products

Get specific product API

  GET /api/product/{$id}
Parameter Type Description
id integer Required. Product id

Delete specific product API

  POST /api/delete-product/{$id}

Contact form API

  POST /api/contact

Run Locally

Clone the project

  git clone https://github.com/ParthMi/ReactJs-Laravel-E-commerce

Go to the project directory

  cd react-laravel

Install dependencies

  npm install

Start the server

  npm start

๐Ÿ”— Linkedin

linkedin

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published