Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
7b618a6
Setup models and routing
Sep 21, 2024
4388537
added menu routes
arpit-socia Sep 22, 2024
29baef2
Removed frontend, added auth
arpit-socia Sep 29, 2024
786ef0c
Added QR model and scanning with deep link
arpit-socia Oct 10, 2024
4fcc1a2
feat: created apis for carousel posters
abhinandanmishra1 Oct 12, 2024
fae36e5
updated model structure and schema for venue and restaurant
arpit-socia Oct 25, 2024
fa6ed27
Added model to schema mapper, user auth
arpit-socia Oct 26, 2024
9f60271
Added ruff linter
arpit-socia Nov 1, 2024
7222c1f
Merge branch 'carousel-poster'
arpit-socia Nov 2, 2024
22fc2e7
add menu scrapper
shreyash776 Jan 30, 2025
c35a139
fixed restaurant apischema
arpit-socia Feb 2, 2025
ef85d62
update readme
arpit-socia Feb 4, 2025
4767679
update base model
arpit-socia Feb 4, 2025
6e2f60d
Adding readme
arpit-socia Feb 4, 2025
8bb8b60
remove tests
arpit-socia Feb 4, 2025
0df8b4c
add scrapping script
shreyash776 Feb 6, 2025
bb1263e
migration issue
arpit-socia Feb 6, 2025
0563c47
add scrapping api
shreyash776 Feb 6, 2025
c4b9a2c
bug fix
arpit-socia Feb 7, 2025
9abe085
add menu scrapper
shreyash776 Jan 30, 2025
fc38512
add scrapping script
shreyash776 Feb 6, 2025
3863eeb
add scrapping api
shreyash776 Feb 6, 2025
c179b84
update scraping api
shreyash776 Feb 9, 2025
9c3ee88
refactor the scrapper.py to handle multiple ids
shreyash776 Feb 9, 2025
412e78e
fix menu creation
shreyash776 Feb 11, 2025
6dc0121
Merge branch 'scrapping' of https://github.com/socia-app/SociaCore in…
shreyash776 Feb 11, 2025
af921ae
fix: data menu data formatting
shreyash776 Mar 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 17 additions & 15 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,35 @@ DOMAIN=localhost
# Environment: local, staging, production
ENVIRONMENT=local

PROJECT_NAME="Full Stack FastAPI Project"
PROJECT_NAME="SOCIA"
STACK_NAME=full-stack-fastapi-project

# Backend
BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,https://localhost,https://localhost:5173,http://localhost.tiangolo.com"
SECRET_KEY=changethis
FIRST_SUPERUSER=admin@example.com
FIRST_SUPERUSER_PASSWORD=changethis
SECRET_KEY=0_vuFnI9SIxZ4dxA5TcIroZRKp_ljxMuknEAcXDsGgo
FIRST_SUPERUSER=arpit.singh@example.com
FIRST_SUPERUSER_PASSWORD=SOciaSOcia

# Otpless
CLIENT_ID = "CLIENT_ID"
CLIENT_SECRET = "CLIENT_SECRET"
# Emails
SMTP_HOST=
SMTP_USER=
SMTP_PASSWORD=
EMAILS_FROM_EMAIL=info@example.com
SMTP_HOST=[email protected]
SMTP_USER=[email protected]
SMTP_PASSWORD=SOciaSOcia
EMAILS_FROM_EMAIL=arpit.singh@example.com
SMTP_TLS=True
SMTP_SSL=False
SMTP_PORT=587

# Postgres
POSTGRES_SERVER=localhost
POSTGRES_PORT=5432
POSTGRES_DB=app
POSTGRES_USER=postgres
POSTGRES_PASSWORD=changethis
POSTGRES_SERVER=aws-0-ap-south-1.pooler.supabase.com
POSTGRES_PORT=6543
POSTGRES_USER=postgres.uiwsgdtnmovxahfgxfkj
POSTGRES_PASSWORD=Aa1sociaaicos
POSTGRES_DB=sociadb

SENTRY_DSN=

# Configure these with your own Docker registry images
DOCKER_IMAGE_BACKEND=backend
DOCKER_IMAGE_FRONTEND=frontend
DOCKER_IMAGE_BACKEND=backend
49 changes: 0 additions & 49 deletions .github/workflows/generate-client.yml
Original file line number Diff line number Diff line change
@@ -1,49 +0,0 @@
name: Generate Client

on:
pull_request:
types:
- opened
- synchronize

jobs:
generate-client:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.FULL_STACK_FASTAPI_TEMPLATE_REPO_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: lts/*
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: npm ci
working-directory: frontend
- run: pip install ./backend
- run: bash scripts/generate-client.sh
- name: Commit changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "github-actions"
git add frontend/src/client
git diff --staged --quiet || git commit -m "✨ Autogenerate frontend client"
git push

# https://github.com/marketplace/actions/alls-green#why
generate-client-alls-green: # This job does nothing and is only used for the branch protection
if: always()
needs:
- generate-client
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}

67 changes: 0 additions & 67 deletions .github/workflows/playwright.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ node_modules/
/playwright-report/
/blob-report/
/playwright/.cache/
.history/
.DS_Store

9 changes: 1 addition & 8 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,6 @@
"cwd": "${workspaceFolder}/backend",
"jinja": true,
"envFile": "${workspaceFolder}/.env",
},
{
"type": "chrome",
"request": "launch",
"name": "Debug Frontend: Launch Chrome against http://localhost:5173",
"url": "http://localhost:5173",
"webRoot": "${workspaceFolder}/frontend"
},
}
]
}
Loading
Loading