Skip to content

πŸ’³ A FullStack Project Focused on API Using DRF and Payment Using Stripe

Notifications You must be signed in to change notification settings

HomiCode/HomiPay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’³ HomiPay

A FullStack Project Focused on API Using DRF and Payment Using Stripe

Technologies

  • Django
  • DRF
  • Stripe
  • React
  • HTML / CSS
  • Bootstrap

Getting Started (Stripe Account)

  • Create Account on Stripe
  • Enable Test Mode
  • Click on "Developers" and then "API keys"
  • Copy Your Secret Key
  • Click on "Products" and create a product
  • Copy Price ID

Getting Started (Clone and Config [BACKEND])

  • Clone The Project
  git clone https://github.com/HomiCode/HomiPay.git
  • Go to The Project Directory
  cd backend
  • Install Virtual Environment
  python -m venv venv
  • Activate The Virtual Environment

Wndows πŸ’»

  ./venv/scripts/activate

MacOS 🍎

 source venv/bin/activate
  • Install Requirements
 pip install -r requirements.txt
  • Create '.env' File
  • Create Your Environment Variable
 STRIPE_SECRET_KEY = {YOUR STRIPE SECRET KEY}
 PRICE = {YOUR PRICE ID}
  • Migrate
 python manage.py migrate
  • Run Server
 python manage.py runserver

Config [FRONTEND]

  • Open New Terminal and Navigate into frontend folder
 cd frontend/homipay
  • And Run:
 npm install
  • Then Run:
 npm run start

The Project is Working, Enjoy it ❀️