Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lucthienphong1120/mobile-shop-backend
Mobile Shop E-Commerce Back-End with database
https://github.com/lucthienphong1120/mobile-shop-backend
backend-template bootstrap database e-commerce ecommerce html javascript mobile-shop mysql php php-template shop shop-template shopping-cart sql website
Last synced: 7 days ago
JSON representation
Mobile Shop E-Commerce Back-End with database
- Host: GitHub
- URL: https://github.com/lucthienphong1120/mobile-shop-backend
- Owner: lucthienphong1120
- Created: 2022-04-14T09:21:18.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T03:29:29.000Z (11 months ago)
- Last Synced: 2023-12-16T03:54:43.095Z (11 months ago)
- Topics: backend-template, bootstrap, database, e-commerce, ecommerce, html, javascript, mobile-shop, mysql, php, php-template, shop, shop-template, shopping-cart, sql, website
- Language: HTML
- Homepage: http://ltp.crfnetwork.com/mobile-shop-backend/
- Size: 14.8 MB
- Stars: 22
- Watchers: 2
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mobile-Shop-E-Commerce-Website
In this complete E-commerce Website, We will take a look at how to create Mobile Shop Using PHP and Mysql Database. We gonna start by creating an HTML template then convert it into PHP and then use MySQL database to fetch products and display it in the project.
## Setup database
Firstly, import the database from [mobileshop.sql](./mobileshop.sql)
Next, goto [/func/DBConnect.php line 6](./func/DBConnect.php#L6), change the follow information:
```php
protected $host = 'localhost';
protected $user = 'root';
protected $password = '';
protected $database = 'mobileshop';
```## Demo static pages
+ [Homepage](./mobile-shop-backend/index.html)
+ [Cart (user=guest)](/mobile-shop-backend/cart.html)
+ [Product (id=1)](./mobile-shop-backend/product.html)
+ [Login](./mobile-shop-backend/login.html)
+ [Register](./mobile-shop-backend/register.html)
+ [Account (role=admin)](./mobile-shop-backend/account.html)
+ [Manage (role=admin)](./mobile-shop-backend/manage.html)# Dynamic with PHP
1. Make sure you have installed Xampp and turned on apache and mysql
2. *Fork* the project and *Clone* it into C:/xampp/htdocs/
3. Change the configuration at [Setup database](#setup-database)
4. Open your browser at `http://localhost://index.php`
5. Leave a *Star* for this project if you feel useful, thank you