Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.

YAJATapps/Messenger-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend for messenger (https://github.com/YAJATapps/Messenger)

Uses FastAPI framework.

  1. Remove mangum to run locally.

OR

2. Deploy to AWS:

Switch to main branch

git checkout main

Setup virtualenv

virtualenv -p python3.9 env

source ./env/bin/activate

Install dependencies

pip install fastapi

pip install mangum

pip install mysql-connector-python

Zip the dependencies and python file

cd env/lib/python3.9/site-packages

zip -r9 ../../../../function.zip

cd ../../../..

zip -g ./function.zip -r api.py

Deploy the function.zip to AWS.

Releases

No releases published

Packages

No packages published

Languages