Skip to content

SiddhantTotade/PaperLess-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About the project

PaperLess is a web application that generates PDF document from HTML templates.

Technologies used

Python   Django   Django   React   Typescript   Tanstack Query   Shadcn UI   Tailwind Css   GraphQL   REST Api

Getting Started

Setting Up Virtual Environment

  • Clone the project
git clone git@github.com:SiddhantTotade/PaperLess.git
  • Open the project in the terminal. The below command opens the project in vs-code but you can choose any editor
code .
  • In the terminal type command to create a virtual environment. Prefer root directory for venv

    • The below command create a virtual environment in a specific directory
    python -m venv <name_of_venv>
    OR
     
    • The below command create a virtual envvironment in the current directory
    python -m venv .
  • After creating venv, Activate it. Go to the directory in which the venv exists and type command

source bin/activate
  • Deactivate the virtual environment.
deactivate
  • Before installing the requirements.txt check if there is something exists or not. If the command shows nothing then nothing is installed yet
pip freeze
  • After activating venv, install the requirements.txt.
pip install -r requirements.txt

Setting Up Application

  • After enabling the venv, run the command for creating migrations
python manage.py makemigrations
  • After creating the migrations of all the models, run command
python manage.py migrate

Running Django Server (Backend)

  • Change directory to paperless
cd paperless
  • Run the django serever
python manage.py runserver

Running React Server (Frontend)

Leave a star if you like the project. ⭐

Enjoy ☺️ ☺️

Project Images

About

An application to generates PDF from HTML templates.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •