This is a simple CRUD application with an E-commerce theme.
Alfarobby27
-
Clone this repository to your computer and enter the Belanjago-Seller folder from the terminal or cmd.
git clone https://github.com/Alfarobby27/Belanjago-Seller && cd Belanjago-Seller
-
Move the Belanjago-Seller folder to the xampp directory below.
C:\xampp\htdocs
-
Open the XAMPP application that you have downloaded. Click start on Apache and MySQL
-
Create MySQL Database
-
Open Command prompt
-
Type below then enter. repeat once enter, until you are on the path C
cd .. ```
-
If you have typed below
cd \xampp\mysql\bin ```
-
Make sure you are already on this cmd path. C:\xampp\mysql\bin\
-
Then type
mysql -u root
-
Then type below to create a database
CREATE DATABASE phpdasar; use phpdasar;
-
Then create a marketplace table
CREATE TABLE marketplace( id int primary key auto_increment, gambar varchar(225), nama varchar(225), harga double, stok int );
-
Then create a user table
CREATE TABLE user( id int primary key auto_increment, username varchar(225), password varchar(225) );
-
- Make sure the database that is created is written according to the above
- If so, open your browser and paste the below into your browser.
localhost/Belanjago-Seller
- Make sure you register first, before logging in
- Login, Logout and Register Account
- Display Product List
- Add Product Data
- Change Product Data
- Delete Product Data
- Search for Product Data