Skip to content

Commit 0f22f45

Browse files
committed
Fix: Enable local development setup
1 parent d85ab74 commit 0f22f45

3 files changed

Lines changed: 21 additions & 4 deletions

File tree

backend/main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import os
2-
32
from dotenv import load_dotenv
3+
4+
# Load environment variables FIRST, before any other imports
5+
load_dotenv()
6+
47
from fastapi import FastAPI
58

69
from api.auth import router as auth_router
@@ -9,9 +12,6 @@
912
from api.middleware.cors import setup_cors
1013
from api.projects import router as projects_router
1114

12-
# Load environment variables
13-
load_dotenv()
14-
1515
# Create FastAPI application
1616
app = FastAPI(
1717
title="SmartQuery API",

frontend/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,16 @@
1313
"test:integration": "vitest run --config vitest.integration.config.ts"
1414
},
1515
"dependencies": {
16+
"@heroicons/react": "^2.2.0",
1617
"axios": "^1.10.0",
1718
"daisyui": "^5.0.46",
1819
"next": "^14.2.5",
1920
"react": "^18.3.1",
2021
"react-dom": "^18.3.1",
2122
"recharts": "^3.0.2",
23+
"reselect": "^5.1.1",
24+
"source-map-js": "^1.2.1",
25+
"use-sync-external-store": "^1.5.0",
2226
"zustand": "^5.0.6"
2327
},
2428
"devDependencies": {

package-lock.json

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)