You will need to setup the directory structure for the gs backend. All files for the backend will be under the gs/backend/ directory so for shorter names unless otherwise stated assume all paths start with gs/backend/ . For any file that ends with .py you can find it with the same name in the gs onboarding for you to copy with the exception that you will need to update the paths to the absolute path on the main repo. Be sure to include __init__.py for each directory
From the gs onboarding, you willl need to create a similar directory structure as follows:
gs/backend/
data/
base_model.py
(other data files)
main.py
api/
v1/
endpoints/
mcc/
(files for mcc endpoint)
aro/
(files for aro endpoint)
models/
mcc/
(mcc model files will go here)
aro/
(aro model files will go here)
middleware/
cors_middleware.py
(other middleware files will go here)
setup.py
lifespan.py
Also update the requirements.txt located in the root of the project with fastapi and sqlmodel from the gs onboarding requirements.txt
Leave the current files in gs/ where they are. Do not touch or move them.