Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .env.example
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,6 +3,7 @@ SMTP_HOST="host_url_for_smtp"
SMTP_PORT="port_number_for smtp"
SMTP_EMAIL="email_for_smtp"
SMTP_PASS="password_for_smtp"

POSTGRES_DB="acm"
POSTGRES_USER="acmsecy"
POSTGRES_PASSWORD="acmheads"
11 changes: 0 additions & 11 deletions README.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -8,19 +8,8 @@ The official website for PEC ACM.
# Install dependencies
pnpm install

<<<<<<< vidhi/backendstuff
Or

``bash
pnpm install
pnpm dev
``

# Building For Production
=======
# Start development server
pnpm dev
>>>>>>> main

# Build for production
pnpm build
Expand Down
38 changes: 36 additions & 2 deletions biome.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -22,11 +22,45 @@
"indentWidth": 2,
"attributePosition": "multiline"
},
"assist": { "actions": { "source": { "organizeImports": "on" } } },
"assist": {
"actions": {
"source": {
"organizeImports": {
"level": "on",
"options": {
"groups": [
{ "type": true, "source": ["**"] },
":BLANK_LINE:",
[":URL:", ":PACKAGE_WITH_PROTOCOL:"],
":BLANK_LINE:",
":NODE:",
":BUN:",
":PACKAGE:",
":BLANK_LINE:",
"$assets/**",
":BLANK_LINE:",
"$components/**",
":BLANK_LINE:",
"$data/**",
":BLANK_LINE:",
"$hooks/**",
":BLANK_LINE:",
"$lib/**",
":BLANK_LINE:",
"$styles/**"
]
}
}
}
}
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
"recommended": true,
"correctness": {
"noUnusedImports": "error"
}
}
},
"javascript": {
Expand Down
17 changes: 14 additions & 3 deletions package.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,37 +3,49 @@
"private": true,
"type": "module",
"scripts": {
"dev": "vite dev --port 3000",
"container:up": "docker compose up -d",
"container:down": "docker compose down -v",
"dev:app": "vite dev",
"dev": "concurrently -n 'api,app' -c blue,green,magenta 'pnpm container:up' 'pnpm dev:app'",
"build": "vite build",
"serve": "vite preview",
"test": "vitest run",
"format": "biome format",
"format:write": "biome format --write",
"lint": "biome lint",
"check": "biome check",
"check:write": "biome check",
"check:write": "biome check --write",
"prepare": "husky",
"email:dev": "email dev --dir=./src/emails --port=2999"
},
"dependencies": {
"@bogeychan/elysia-logger": "^0.1.10",
"@elysiajs/eden": "^1.4.5",
"@elysiajs/openapi": "^1.4.11",
"@fontsource/space-grotesk": "^5.2.10",
"@netlify/vite-plugin-tanstack-start": "^1.0.2",
"@react-email/components": "1.0.2",
"@t3-oss/env-core": "^0.13.8",
"@tailwindcss/vite": "^4.1.18",
"@tanstack/react-devtools": "^0.7.0",
"@tanstack/react-form": "^1.0.0",
"@tanstack/react-form-start": "^1.28.0",
"@tanstack/react-query": "^5.66.5",
"@tanstack/react-query-devtools": "^5.84.2",
"@tanstack/react-router": "^1.132.0",
"@tanstack/react-router-devtools": "^1.132.0",
"@tanstack/react-router-ssr-query": "^1.131.7",
"@tanstack/react-start": "^1.132.0",
"@tanstack/router-plugin": "^1.132.0",
"concurrently": "^9.2.1",
"dotenv": "^17.2.4",
"elysia": "^1.4.19",
"nodemailer": "^7.0.12",
"pino": "^10.3.1",
"pino-pretty": "^13.1.3",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"tailwindcss": "^4.1.18",
"vite-tsconfig-paths": "^5.1.4",
"zod": "^4.1.11"
},
Expand All@@ -55,7 +67,6 @@
"sass": "^1.94.0",
"typescript": "^5.7.2",
"vite": "^7.1.7",
"vite-plugin-sass": "^0.1.0",
"vitest": "^3.0.5",
"web-vitals": "^5.1.0"
}
Expand Down
Loading