Giter Site home page Giter Site logo

mr-atanu-roy / sbcare Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 325 KB

Application to create Short URLs, QR Codes in simple and easy way. This application also supports API requests.

Python 37.82% CSS 11.73% HTML 50.45%
css django django-rest-framework instamojo-payment-gateway jquery python tailwindcss

sbcare's Introduction

Introduction

Create Short URLs, QR Codes in simple and easy way. This application also supports API requests.

Features

  • Create Short URLs
  • Create QR Codes of type: URL, Me-Card, WIFI
  • Acces using API created using Django Rest Framework
  • User Dashboard
  • Pricing Section
  • Beautiful API Docs## Tech Stack

Client Side: HTML, CSS, SCSS, TailwindCSS, JavaScript, JQuery

Server Side: Python, Django, Django Rest Framework

Database: SQLite

Integrations: Instamojo Payment Gateway

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

  • Django settings

DEBUG = TRUE

SECRET_KEY = "django-insecure-yqz=6w&d3zshvkyl%1e41p%5p9$#&ag0ljzj!@-f4l@(#8xy7j"

  • For sending emails EMAIL_HOST_USER = "email address from which email will be send"

EMAIL_HOST_PASSWORD = "its app password"

Note : You have to create app password for the email you are using in EMAIL_HOST_USER and put it in EMAIL_HOST_PASSWORD

  • For instamojo payment gateway API_KEY = "YOUR_API_KEY"

AUTH_TOKEN = "YOUR_AUTH_TOKEN"

ENDPOINT = "https://test.instamojo.com/api/1.1/"

Note : For instamojo you have to create an account on instamojo: https://www.instamojo.com/. Change the API_KEY, AUTH_TOKEN, ENDPOINT="https://instamojo.com/api/1.1/" for production.

Installation

Create a folder and open terminal and install this project by command

git clone https://github.com/Mr-Atanu-Roy/SBCare

or simply download this project from https://github.com/Mr-Atanu-Roy/SBCare

In project directory Create a virtual environment of any name(say env)

  virtualenv env

Activate the virtual environment

For windows:

  env\Script\activate

Install dependencies

  pip install -r requirements.txt

To migrate the database run migrations commands

  py manage.py makemigrations
  py manage.py migrate

Create a super user

  py manage.py createsuperuser

Then add some data into database

To run the project in your localserver

  py manage.py runserver

Authors

sbcare's People

Contributors

mr-atanu-roy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.