QuickPay

A Razorpay payment service developed using Django, PSQL.

Project Setup

Clone the repository:

  git clone https://github.com/theydvgaurav/quickpay

Create a python3.11 virtual environment and activate it:

  cd quickpay
  python3.11 -m venv env
  source env/bin/activate

Install all the requirements:

  pip install requirements.txt

Adding environment variables and setting them:
Create a file named local.env and add the follwing variables
DATABASE_USERNAME=
DATABASE_HOST=
DATABASE_NAME=
DATABASE_PASSWORD=
JWT_ADMIN_ENCODE_SECRET=
RAZORPAY_API_KEY=
RAZORPAY_API_SECRET=

  set -a && source local.env && set +a

Apply the migrations:

  python manage.py migrate

Start the server:

  python manage.py runserver