Building a WhatsApp ChatBot for Car Rentals - Newbie Needs Help!

Hello everyone!

I just wanted to pop in and share a bit about the crazy journey I’ve embarked onβ€”a project that, honestly, I started without any real knowledge or certifications in IT. Yup, you read that right, no official papers but lots of enthusiasm! :smile:

So here’s the scoop: I’ve been working on integrating a chatbot that, as of today, has reached about 20% completion. It’s amazing how much you can accomplish with the right tools and a bit of determination, even if you’re starting from scratch.

For this project, I’m juggling a few different technologiesβ€”Python, Heroku, Twilio, GitHub, VPS, among others. It’s been a week of non-stop learning and, yes, that means progress is a bit slow but super exciting!

I’d really appreciate any feedback or suggestions you guys might have for improving this project. It’s been a mix of trial and error, and every little bit of insight from this community could be a game changer for me.

Wish me luck as I aim to complete this! If anyone has ideas or has been through a similar path, your tips would be golden. Here’s to more learning and maybe a few less bumps along the way. :grin:

Thanks for reading and hope to hear some of your thoughts soon!

whatsapp-gpt-chatbot/
β”‚
β”œβ”€β”€ app/ # Folder untuk aplikasi Flask
β”‚ β”œβ”€β”€ init.py # Inisialisasi aplikasi Flask
β”‚ β”œβ”€β”€ models.py # Definisi model database (SQLite)
β”‚ β”œβ”€β”€ routes.py # Definisi laluan (routes) untuk WhatsApp bot dan tempahan
β”‚ β”œβ”€β”€ templates/ # Folder untuk fail HTML (jika ada halaman statik)
β”‚ └── utils.py # Fungsi utiliti (pengesahan, format mesej, dll.)
β”‚
β”œβ”€β”€ config/
β”‚ β”œβ”€β”€ config.py # Fail konfigurasi umum untuk aplikasi (database, secret keys)
β”‚ └── .env # Fail environment untuk tetapan rahsia (Twilio SID, token)
β”‚
β”œβ”€β”€ dev/
β”‚ └── run.py # Skrip untuk menjalankan aplikasi Flask dalam mod pembangunan
β”‚
β”œβ”€β”€ prod/
β”‚ └── wsgi.py # Skrip untuk menjalankan aplikasi Flask dengan Gunicorn untuk production
β”‚
β”œβ”€β”€ database/
β”‚ └── tempahan.db # Fail SQLite untuk menyimpan rekod tempahan kereta
β”‚
β”œβ”€β”€ tests/
β”‚ β”œβ”€β”€ test_routes.py # Ujian unit untuk memastikan laluan aplikasi berfungsi
β”‚ └── test_utils.py # Ujian unit untuk fungsi utiliti
β”‚
β”œβ”€β”€ static/ # Folder untuk fail statik seperti CSS atau gambar
β”‚ └── styles.css # Gaya CSS untuk aplikasi (jika perlu)
β”‚
β”œβ”€β”€ logs/ # Folder untuk menyimpan fail log
β”‚ └── app.log # Fail log untuk menyimpan rekod aktiviti aplikasi
β”‚
β”œβ”€β”€ requirements.txt # Fail untuk menyenaraikan dependencies Python
β”œβ”€β”€ README.md # Dokumentasi projek
└── Procfile # Fail konfigurasi untuk Heroku (production deployment)

2 Likes