Skip to content

kar-cloud/link-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Link Generator - Backend

The backend of this application has been built using Django, DRF, MySQL.
You can find frontend for this application through this repository: Frontend
The project has been deployed on Vercel: Link

Installation Locally Steps

Pre-requisite of this project is to have Python3.10 and pip installed on your system.

git clone https://github.com/kar-cloud/link-generator.git


Generate a virtual enviroment

python -m venv venv

source venv/bin/activate


Install the requirements

pip install -r requirements.txt


Create .env in the root folder of the project.
Add these configurations in .env file:

SECRET_KEY=
DATABASE_NAME=
DATABASE_USERNAME=
DATABASE_PASSWORD=
DATABASE_HOST=
DATABASE_PORT=
JWT_SECRET=

Dont put space anywhere= sign. For example, SECRET_KEY=abc_ee

If you have not created MYSQL database, create one using command in mysql shell: create database <database_name>
Run commands for migrations to apply:

python manage.py makemigrations

python manage.py migrate


Finally run the server

python manage.py runserver

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages