Skip to content

peter-yeh/Shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

URL Shortener

Features

Installation

Version
Python 3.10.5
NodeJs 16.16.0
NPM 8.11.0

Backend

Run on initialization

cd Backend
python -m venv env
source env/bin/activate # Linux
./env/Scripts/activate # For Windows
python -m pip install --upgrade pip
pip install -r requirements.txt
python init_db.py

To start backend

cd Backend
# Activate env
flask run

Helpful commands

pip install <Package Name>
pip freeze > requirements.txt

Frontend

npm install
ng serve // Goto http://localhost:4200/

Heroku

Hosted on: https://intelligent-monsieur-10324.herokuapp.com/ However, as sqlite3 is supported by herokuapp, I am unable to test this.

Push only the backend folder into heroku git subtree push --prefix Backend/ heroku main

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published