This project is for NYP App Development module done during Dec 2022 - Feb 2023
TCM Shifu is a storefront + blog + appointment booking website for a physical clinic. The website features includes:
- User Management
- E-commerce system that the clinic can sell products or treatments
- Coupon discounts system with date scheduling
- Appointment booking for treatments
- Medicine tracker for doctors to input prescriptions
- Enquiries with reply system
- Blog articles for education and clinic news
- Joseph: Everything else + integration/bug fixing
- Samuel: Enquiries + Medications
- Iqram: Refunds + a bit of checkout
- Aiden: Blog
- Jing Hao: Products
- Flask-Mail for forget password, enquiry reply and order status change
- JWT for forget password
- Markdown support for blog articles, product + treatments descriptions and enquiries reply
- FullCalender for doctor appointment view
- iCalendar for appointment date exporting and medicine reminders via .ICS file
- Stripe for checkouts, has multiple payment methods
This project can be setup on a new environment without pre-existing data. For a quick demo, visit https://joseph222.pythonanywhere.com
The recommended python version is 3.9
- Clone this repository
- Open in pycharm (recommended) or any IDE
- Install
requirements.txt
withpip install -r requirements.txt
. If you are running on Pycharm, there might be a pop-up for you to create a virtual env with therequirements.txt
file. - Create .env file and fill up the fields for
MAIL_USERNAME
andMAIL_PASSWORD
if it does not exist - Start the project
- Login into the default admin account with
[email protected]
andAdminpassword