Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
efa28e2
refactor: refactored 3 api endpoints to seperate logic between contr…
Gslmao Feb 15, 2026
75c3b5d
refactor: seperated Logics for report-tag endpoint
Gslmao Feb 15, 2026
e4b9388
minor fix
Gslmao Feb 21, 2026
ffda957
Merge branch 'CodeChefVIT:staging' into staging
Gslmao Feb 26, 2026
b85dea4
refactor: breaking up this endpoint
Gslmao Feb 26, 2026
a77301f
Refactor Node.js CI workflow for staging and production
abhitrueprogrammer Feb 26, 2026
f2025b4
Refactor environment variable handling in workflow
abhitrueprogrammer Feb 26, 2026
67a1998
Merge pull request #456 from CodeChefVIT/abhitrueprogrammer-patch-1
abhitrueprogrammer Feb 26, 2026
755684d
Update Node.js version in workflow to 22
abhitrueprogrammer Feb 26, 2026
24f0157
enhancement: build w/o env
abhitrueprogrammer Feb 26, 2026
d185b19
Merge remote-tracking branch 'refs/remotes/origin/staging' into staging
abhitrueprogrammer Feb 26, 2026
ac62f6e
Merge pull request #454 from Gslmao/Gslmao/related-subject
abhitrueprogrammer Feb 26, 2026
d0a4a5e
Merge branch 'staging' into Gslmao/seperate-logic
Gslmao Feb 26, 2026
aeb3cbf
Update subject.ts
Gslmao Feb 26, 2026
b753581
Merge pull request #443 from Gslmao/Gslmao/seperate-logic
abhitrueprogrammer Feb 26, 2026
ac2383c
changed or to nullish coalesing operator
Gslmao Feb 15, 2026
8015b04
refactor: refactor out service for api/subscribe
Gslmao Feb 15, 2026
86ff735
refactor: removed unused LoginRequest interface
tvesha09 Mar 27, 2026
3bb7098
refactor: remove unused LoginResponse interface
tvesha09 Mar 27, 2026
361addb
refactor: removed unused IAdminUpload interface
tvesha09 Mar 27, 2026
d2e6d05
refactor: removed unused PostRequestBody interface
tvesha09 Mar 27, 2026
7cd7334
refactor: removed unused ExamDetail interface
tvesha09 Mar 27, 2026
dd220be
refactor: removed unused LoginResponse interface
tvesha09 Mar 27, 2026
05e3cb1
chore; test commit
sandwitchhx Mar 27, 2026
ceac348
fix: Github re-directing to papers github
SriChandanLakhanapuram Mar 27, 2026
26e5e40
fix:middleware target
Avantika211 Mar 27, 2026
65844a2
commit: remove duplicate MAX_REPORTS_PER_PAPER
sandwitchhx Mar 28, 2026
068cf7b
Remove test comment in paperRequest.ts
YOGESH-08 Mar 31, 2026
640b708
Change API route matcher from '/api/up' to '/api/upload'
YOGESH-08 Mar 31, 2026
0c7817e
Merge pull request #484 from sandwitchhx/staging
YOGESH-08 Mar 31, 2026
ceac475
Merge pull request #483 from tvesha09/staging
YOGESH-08 Mar 31, 2026
59a6e9b
Merge pull request #482 from Avantika211/staging
YOGESH-08 Mar 31, 2026
ee1a4fe
feat: rate-limit /request and /subscribe
YOGESH-08 Mar 31, 2026
168895b
refactor: Remove KV dependancy, migrate to upstash
YOGESH-08 Mar 31, 2026
5679afa
fix: images.domains deprecated
YOGESH-08 Mar 31, 2026
e39cfd8
fix: useEffect double render
YOGESH-08 Mar 31, 2026
fd7f3e9
Merge pull request #481 from SriChandanLakhanapuram/staging
YOGESH-08 Apr 2, 2026
623f1c6
Merge branch 'CodeChefVIT:staging' into staging
YOGESH-08 Apr 2, 2026
91a5f3b
Merge pull request #486 from YOGESH-08/staging
YOGESH-08 Apr 2, 2026
a601d24
Merge pull request #457 from Gslmao-s-Org/Gslmao/seperate-logic
YOGESH-08 Apr 2, 2026
65154cf
fix: remove nested link
YOGESH-08 Apr 2, 2026
8c95bfe
feat: swapped the pdf viewer with embedPDF
Gslmao Apr 10, 2026
16a361e
fix: removed unused import
Gslmao Apr 10, 2026
e915c2b
fix: resolve accordion not collapsing due to controlled value prop
Rithish-2914 Apr 11, 2026
47869a4
feat: add responsive UI for mobile and desktop layouts
Gslmao Apr 11, 2026
8f1f9e5
fix: report button made smaller
Gslmao Apr 12, 2026
7b23009
fix: remove old pdfviewer
Gslmao Apr 12, 2026
269fa44
fix: zoom level indicator UI
Gslmao Apr 12, 2026
a63e36d
feat: add mouse wheel scroll to the viewer
Gslmao Apr 12, 2026
10886ea
fix: make useBreakpoint ssr-safe
Gslmao Apr 12, 2026
fc18ae3
fix: fixed trackpad zoom sensitivity and page jitter during wheel zoom
Gslmao Apr 13, 2026
258fc16
fix: some more changes regarding zoom
Gslmao Apr 15, 2026
f7e88ed
Merge pull request #489 from Gslmao-s-Org/Gslmao/pdfViewerNew
YOGESH-08 Apr 16, 2026
8e66e3d
Merge pull request #487 from Rithish-2914/fix/accordion-toggle
YOGESH-08 Apr 16, 2026
dd83569
Merge branch 'staging' of https://github.com/YOGESH-08/papers-codeche…
YOGESH-08 Apr 16, 2026
271a506
Revert "fix: remove nested link"
YOGESH-08 Apr 16, 2026
40d7a14
remove old lib
YOGESH-08 Apr 16, 2026
0f0fc67
Merge pull request #491 from YOGESH-08/staging
YOGESH-08 Apr 16, 2026
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
8 changes: 4 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ GOOGLE_CLOUD_BUCKET="" # Your Google Cloud Storage Bucket n
GOOGLE_APPLICATION_CREDENTIALS_JSON="" # The content of the JSON file you download when creating a service account key

# Vercel KV
KV_URL="" # The URL of your Vercel KV instance
KV_REST_API_URL="" # The REST API URL of your Vercel KV instance
KV_REST_API_TOKEN="" # The REST API token for your Vercel KV instance
KV_REST_API_READ_ONLY_TOKEN="" # The read-only REST API token for your Vercel KV instance
# KV_URL="" # The URL of your Vercel KV instance
# KV_REST_API_URL="" # The REST API URL of your Vercel KV instance
# KV_REST_API_TOKEN="" # The REST API token for your Vercel KV instance
# KV_REST_API_READ_ONLY_TOKEN="" # The read-only REST API token for your Vercel KV instance

# Upstash_Redis
UPSTASH_REDIS_REST_URL="" # REST URL of your Upstash Redis database
Expand Down
45 changes: 45 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Amplify-Equivalent PR Checks

on:
pull_request:
branches: [ "staging", "prod" ]
push:
branches: [ "staging", "prod" ]

jobs:
pr-checks:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Enable corepack
run: corepack enable

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'

- name: Install deps (pnpm)
run: pnpm install --frozen-lockfile

- name: Build (same as Amplify)
run: pnpm run build
env:
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
GOOGLE_CLIENT_EMAIL: ${{ secrets.GOOGLE_CLIENT_EMAIL }}
GOOGLE_PRIVATE_KEY: ${{ secrets.GOOGLE_PRIVATE_KEY }}
KV_REST_API_READ_ONLY_TOKEN: ${{ secrets.KV_REST_API_READ_ONLY_TOKEN }}
KV_REST_API_TOKEN: ${{ secrets.KV_REST_API_TOKEN }}
KV_REST_API_URL: ${{ secrets.KV_REST_API_URL }}
KV_URL: ${{ secrets.KV_URL }}
MONGODB_URI: ${{ secrets.MONGODB_URI }}
SERVER_URL: ${{ secrets.SERVER_URL }}
SHEET_ID: ${{ secrets.SHEET_ID }}
GOOGLE_CLOUD_PROJECT: ${{ secrets.GOOGLE_CLOUD_PROJECT }}
GOOGLE_CLOUD_BUCKET: ${{ secrets.GOOGLE_CLOUD_BUCKET }}
GOOGLE_APPLICATION_CREDENTIALS_JSON: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_JSON }}
UPSTASH_REDIS_REST_URL: ${{ secrets.UPSTASH_REDIS_REST_URL }}
UPSTASH_REDIS_REST_TOKEN: ${{ secrets.UPSTASH_REDIS_REST_TOKEN }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ yarn-error.log*
# local env files
# do not commit any .env files to git, except for the .env.example file. https://create.t3.gg/en/usage/env-variables#using-environment-variables
.env
.env.lcal
.env.local
.env*.local
.env.prod
# vercel
Expand Down
7 changes: 6 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ await import("./src/env.js");
const config = {
swcMinify: false,
images: {
domains: ["storage.googleapis.com"],
remotePatterns: [
{
protocol: "https",
hostname: "storage.googleapis.com",
},
],
},
async headers() {
return [
Expand Down
Loading
Loading