Run pgAdmin
Create virtual Environment
python -m venv .venv
To Active Environment
Command Line:
- ..venv\Scripts\Activate.cmd
Powershell:
- ..venv\Scripts\Activate.ps1
Install Requirements
pip install -r requirements.txt
Update .env with your values
open in code or notepad
Update DATABASE_URL="postgresql+asyncpg://url_admin:GodJesus2101@localhost:5432/url_shortener"
localhost:5432 is the server URL
url_shortener is the database name
Update BaseUrl (IF Required)
BASE_URL="http://localhost:7771" # Your API's base URL
Run API
uvicorn main:app --reload --host 0.0.0.0 --port 7771
{
"firstName": "John",
"lastName": "Smith",
"age": 25
}
First Term : This is the definition of the first term.
Second Term : This is one definition of the second term. : This is another definition of the second term.
- Write the press release
- Update the website
- Contact the media
Gone camping! ⛺ Be back soon.
That is so funny! 😂
I need to highlight these very important words.