Skip to content

Crio-Winter-of-Doing-2021/CRED-T7

Repository files navigation

CRED-T7

Team ID: CRED-T7 | Team Members: Aditya Mahajan & Shantanu Singh

Tech Stack

Frontend

React TailwindCSS Redux

Backend

Python Django

Database

Postgres

Credit Card Management System

Built a CRED app Clone with the following features

  1. Login/Register ✔️
  2. Adding Cards 💳
  3. View Card Statements 🧾
  4. Smart Statements containing insights about different categorical features and top 10 vendors for a card 💹
  5. Pay bill 💲
  6. Get rewards in form of coins for timely payments 💰
  7. Send reminders for payments 📩

Getting started

Libraries Required

Use below code to install python related dependencies

pip install -r requirements.txt

Use below code to install Javascript related dependencies

cd frontend
npm install

Testing

python manage.py test

Starting app

Backend

python manage.py runserver

Frontend

cd frontend
npm run dev

Database schema

DBSCHEMA

API Endpoints

Following are the api endpoints for this app.

Name URL Description
SIGNUP /signup Signing up using username, password, email
LOGIN /login Logging in using username, password
CARDS /cards Adding cards
VIEW CARDS /cards/pk About card
VIEW STATEMENTS /cards/pk/statements To view transactions for a particular
VIEW STATEMENTS FOR MM/YYYY /cards/pk/statements/mm/yyyy To view/post transactions for a MM/YYYY
PAY BILL /cards/pk/pay To pay bill for a particular card
SMART STATEMENTS /cards/pk/smartstatements To view top 10 vendors for a particular card
SWAGGER /swagger Swagger doc for our apis

UI Flow

UIFLOW