- user authentication
- cart session management (no login required)
- cart functionality
- add a new project
- checkout with stripe
- Python 3.11.2
- Django
- Stripe
- Bootstrap
- HTML
- CSS
-
Create stripe account
-
Get the secret and public keys
-
Create a .env file in the root directory
-
Add the keys to the .env file as STRIPE_KEY=your_stripe_public key
-
e.g. STRIPE_KEY=pk_test_51J
-
Clone the repository
-
Create a virtual environment
python3 -m venv venv
-
Install the requirements
pip install -r requirements.txt
-
Make migrations
python manage.py makemigrations python manage.py migrate
-
Create a superuser
python manage.py createsuperuser
-
Run the server
python manage.py runserver
-
Add a new product
-
Checkout with stripe
-
Done!