Skip to content

Commit 2eb90c6

Browse files
authored
Update README.md
1 parent 91ad21a commit 2eb90c6

File tree

1 file changed

+97
-45
lines changed

1 file changed

+97
-45
lines changed

README.md

+97-45
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,118 @@
1-
<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400" alt="Laravel Logo"></a></p>
1+
## Tokoku 🛒
2+
3+
Tokoku merupakan platfrom marketplace produk digital yang menjual produk digital secara online dengan payment gateway Midtrans. Saya membangun ini sesuai dengan kata **tokoku** yang artinya platfrom ini di bangun untuk menjual produk milik saya sendiri. Produk tersebut bisa saja produk source code program aplikasi maupun file PDF yang bersifat produk digital.
4+
5+
Tokoku memiliki sistem multi user yang arti nya ada dua role yaitu admin dan customer. Admin adalah role milik saya dan customer sebagai pembeli. Tokoku di bangun dengan framework Laravel 10 dan MySQL nya sebagai backend. Untuk front end menggunakan bootstrap dan JavaScript.
6+
7+
Alur proses bisnis aplikasi web ini sama dengan layaknya toko pada umum nya. Jadi ketika customer membeli suatu produk, lalu checkout, pilih pembayaran Midtrans, dan jika sukses maka customer bisa mengunduh produk yang di simpan dari sistem aplikasi. Customer akan menerima notifikasi email, misal invoice milik customer adalah **80xxxx** telah membeli suatu produk.
8+
9+
## Install ⚙️
10+
Jika Anda seorang developer atau mahasiswa ingin menggunakan dan mengubah source code yang ada pada aplikasi web ini, maka perintah nya sebagai berikut :
11+
12+
1. Lakukan git clone :
13+
```
14+
git clone https://github.com/galihap76/tokoku.git
15+
```
216

3-
<p align="center">
4-
<a href="https://github.com/laravel/framework/actions"><img src="https://github.com/laravel/framework/workflows/tests/badge.svg" alt="Build Status"></a>
5-
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/dt/laravel/framework" alt="Total Downloads"></a>
6-
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/v/laravel/framework" alt="Latest Stable Version"></a>
7-
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/l/laravel/framework" alt="License"></a>
8-
</p>
17+
2. Masuk ke direktori tokoku :
18+
```
19+
cd tokoku
20+
```
921

10-
## About Laravel
22+
3. Install package bawahan Laravel :
23+
24+
```
25+
composer install
26+
```
1127

12-
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
28+
4. Generate key :
29+
```
30+
php artisan key:generate
31+
```
1332

14-
- [Simple, fast routing engine](https://laravel.com/docs/routing).
15-
- [Powerful dependency injection container](https://laravel.com/docs/container).
16-
- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage.
17-
- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent).
18-
- Database agnostic [schema migrations](https://laravel.com/docs/migrations).
19-
- [Robust background job processing](https://laravel.com/docs/queues).
20-
- [Real-time event broadcasting](https://laravel.com/docs/broadcasting).
33+
5. Copy .env.example ke .env :
34+
```
35+
copy .env.example .env
36+
```
2137

22-
Laravel is accessible, powerful, and provides tools required for large, robust applications.
38+
6. Import database yang berada pada folder **public/assets/** dan cari nama file **db_tokoku.sql**.
2339

24-
## Learning Laravel
40+
7. Buka **.env** lalu ubah konfigurasi database sesuai yang ingin dipakai :
41+
```
42+
DB_PORT=3306
43+
DB_DATABASE=
44+
DB_USERNAME=root
45+
DB_PASSWORD=
46+
```
2547

26-
Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.
48+
8. Masuk dan daftar <a href="https://dashboard.midtrans.com/login">Midtrans</a> untuk mendapatkan MERCHANT, CLIENT, dan SECRET key. Lalu copas ini ke **.env** :
49+
```
50+
MIDTRANS_MERCHANT_ID = <MASUKKAN MERCHANT ID MILIK ANDA>
51+
MIDTRANS_CLIENT_KEY = <MASUKKAN CLIENT KEY MILIK ANDA>
52+
MIDTRANS_SERVER_KEY = <MASUKKAN SERVER KEY MILIK ANDA>
53+
```
2754

28-
You may also try the [Laravel Bootcamp](https://bootcamp.laravel.com), where you will be guided through building a modern Laravel application from scratch.
55+
9. Tokoku memiliki sistem Single Sign On (SSO) Google, jadi Anda perlu masuk dan daftar pada <a href="https://console.cloud.google.com/apis/dashboard">console.cloud.google</a> untuk mendapatkan CLIENT dan SECRET key.
56+
57+
10. Copas ini ke **.env** untuk bisa menggunakan sistem SSO Google :
58+
```
59+
GOOGLE_CLIENT_ID= <MASUKKAN CLIENT ID ANDA>
60+
GOOGLE_CLIENT_SECRET= <MASUKKAN CLIENT SECRET ANDA>
61+
GOOGLE_REDIRECT_URI= <MASUKKAN REDIRECT URI APLIKASI WEB ANDA>
62+
```
63+
64+
13. Untuk mengirim dan menerima email menggunakan protokol SMTP, daftar pada situs <a href="https://mailtrap.io/">mailtrap</a> untuk bahan percobaan.
65+
66+
14. Terakhir, sesuaikan konfigurasi MAIL Anda sendiri di **.env** :
67+
```
68+
MAIL_MAILER=smtp
69+
MAIL_HOST=sandbox.smtp.mailtrap.io
70+
MAIL_PORT=2525
71+
MAIL_USERNAME= <MASUKKAN USERNAME ANDA>
72+
MAIL_PASSWORD= <MASUKKAN PASSWORD ANDA>
73+
MAIL_ENCRYPTION=null
74+
MAIL_FROM_ADDRESS="[email protected]"
75+
MAIL_FROM_NAME="${APP_NAME}"
76+
```
77+
78+
15. Selesai.
79+
80+
## Screenshots 📸
81+
| ![image](https://github.com/user-attachments/assets/9237bf65-213a-45d7-bc7a-6226113482dd) | ![image](https://github.com/user-attachments/assets/82bb6892-dc60-4d37-b636-1bf10c7e7960)
82+
| ------------------------------------------------------------ | ------------------------------------------------------------ |
83+
| Login | Pendaftaran |
84+
| ![image](https://github.com/user-attachments/assets/2d755629-0689-4ca9-afaf-6b4d4ba826c9) | ![image](https://github.com/user-attachments/assets/80094853-b1e3-4ca1-8172-afe8d34e14bc)
85+
| Lupa Password | Reset Password |
86+
| ![image](https://github.com/user-attachments/assets/e7cfbce2-b561-42d9-8d73-eba5b1faad7e) | ![image](https://github.com/user-attachments/assets/f1da0bfc-64a0-4de1-8f46-39e631870ce6)
87+
| Dashboard (Admin) | Menu Produk (Admin) |
88+
| ![image](https://github.com/user-attachments/assets/7c3a617d-e02e-4ebb-874c-368b36a4bdd1) | ![image](https://github.com/user-attachments/assets/d6e79b1b-ec98-4aad-84a3-c591badff6e8)
89+
| Tambah Produk (Admin) | Update Produk (Admin) |
90+
| ![image](https://github.com/user-attachments/assets/f2647401-69a2-4835-b534-f82269b16bc4) | ![image](https://github.com/user-attachments/assets/4094681c-ff16-440b-bd52-dfa16066d9b3)
91+
| Screenshots Produk (Admin & Customer) | Produk Terjual (Admin) |
92+
| ![image](https://github.com/user-attachments/assets/1792c82a-0ba9-4a94-9513-0f6d15abf6e7) | ![image](https://github.com/user-attachments/assets/34713afa-00fa-4110-b349-11cc029fcfdf)
93+
| Ganti Password (Admin & Customer) | Extract Screenshots (Admin) |
94+
| ![image](https://github.com/user-attachments/assets/f5db2e26-62d3-4dc9-9f25-c4f7b6641be5) | ![image](https://github.com/user-attachments/assets/1cbd1033-f3b6-4698-8287-20c871753669)
95+
| Profile Customer (Customer) | Menu Produk (Customer) |
96+
| ![image](https://github.com/user-attachments/assets/389aa8d6-8301-4b29-baa9-dbf205a96ab6) | ![Screenshot (28)](https://github.com/user-attachments/assets/8137b37d-24d7-48fe-a1bf-530ddfba0735)
97+
| Beli Produk / Checkout (Customer) | Metode Pembayaran (Customer) |
98+
| ![image](https://github.com/user-attachments/assets/43dd1bd3-a31c-4ab5-b954-3772ccfc2268) | ![image](https://github.com/user-attachments/assets/d6bbdfff-aeda-4b5b-b0a3-7bd39d1632dd)
99+
| Bukti Pembayaran (Customer) | Unduh Bukti Pembayaran (Customer) |
100+
| ![Screenshot (29)](https://github.com/user-attachments/assets/992b7ac9-c447-4e0c-b64f-7d4c09c734a0) | ![Screenshot (30)](https://github.com/user-attachments/assets/d04b8e8b-9594-482f-a392-39910071a933)
101+
| Notifikasi Reset Password (Admin & Customer) | Notifikasi Email Beli Produk (Customer) |
102+
103+
## Penutup
104+
105+
Aplikasi web ini akan saya perbarui jika saya memang ada waktu. Sekian terima kasih.
29106

30-
If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains over 2000 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.
31107

32-
## Laravel Sponsors
33108

34-
We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel [Patreon page](https://patreon.com/taylorotwell).
35109

36-
### Premium Partners
37110

38-
- **[Vehikl](https://vehikl.com/)**
39-
- **[Tighten Co.](https://tighten.co)**
40-
- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)**
41-
- **[64 Robots](https://64robots.com)**
42-
- **[Cubet Techno Labs](https://cubettech.com)**
43-
- **[Cyber-Duck](https://cyber-duck.co.uk)**
44-
- **[Many](https://www.many.co.uk)**
45-
- **[Webdock, Fast VPS Hosting](https://www.webdock.io/en)**
46-
- **[DevSquad](https://devsquad.com)**
47-
- **[Curotec](https://www.curotec.com/services/technologies/laravel/)**
48-
- **[OP.GG](https://op.gg)**
49-
- **[WebReinvent](https://webreinvent.com/?utm_source=laravel&utm_medium=github&utm_campaign=patreon-sponsors)**
50-
- **[Lendio](https://lendio.com)**
51111

52-
## Contributing
53112

54-
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).
55113

56-
## Code of Conduct
57114

58-
In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).
59115

60-
## Security Vulnerabilities
61116

62-
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [[email protected]](mailto:[email protected]). All security vulnerabilities will be promptly addressed.
63117

64-
## License
65118

66-
The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

0 commit comments

Comments
 (0)