Skip to content

Commit 950c19d

Browse files
Merge pull request #151 from TusharSaini999/feat/student-registration-edit-and-concurrency
Feat/student registration edit and concurrency
2 parents a7da597 + f3e420d commit 950c19d

4 files changed

Lines changed: 157 additions & 10 deletions

File tree

‎Backend/src/app.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import swaggerUi from "swagger-ui-express";
1212
const app = express();
1313

1414
// Trust proxy to properly inspect forwarded client IP addresses behind reverse proxies
15-
app.set("trust proxy", true);
15+
app.set("trust proxy", 1);
1616

1717
// Security Headers
1818
app.use(helmet());

‎Frontend/index.html‎

Lines changed: 31 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,36 @@
55
<meta charset="UTF-8">
66
<meta http-equiv="X-UA-Compatible" content="IE=edge">
77
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
89
<title>CodeX | Coding the Future, Today.</title>
910

10-
<!-- Primary Meta Tags -->
11+
<script type="application/ld+json">
12+
{
13+
"@context": "https://schema.org",
14+
"@graph": [
15+
{
16+
"@type": "WebSite",
17+
"@id": "https://qucodex.com/#website",
18+
"name": "CodeX",
19+
"alternateName": "CodeX Club",
20+
"url": "https://qucodex.com/"
21+
},
22+
{
23+
"@type": "Organization",
24+
"@id": "https://qucodex.com/#organization",
25+
"name": "CodeX",
26+
"alternateName": "CodeX Club",
27+
"url": "https://qucodex.com/",
28+
"logo": {
29+
"@type": "ImageObject",
30+
"url": "https://qucodex.com/favicon.svg"
31+
},
32+
"description": "CodeX is the official technical club of Quantum University."
33+
}
34+
]
35+
}
36+
</script>
37+
1138
<meta name="title" content="CodeX | Coding the Future, Today.">
1239
<meta name="description"
1340
content="CodeX is the official technical club of Quantum University, empowering students to learn, build, and innovate through real-world projects, workshops, hackathons, and collaborative learning.">
@@ -17,14 +44,12 @@
1744
<meta name="robots" content="index, follow">
1845
<meta name="theme-color" content="#2ec5d4">
1946
<meta name="color-scheme" content="light dark">
20-
<meta name="application-name" content="CodeX Club">
47+
<meta name="application-name" content="CodeX">
2148
<meta name="geo.region" content="IN-UK">
2249
<meta name="geo.placename" content="Roorkee">
2350

24-
<!-- Canonical URL -->
25-
<link rel="canonical" href="https://qucodex.com">
51+
<link rel="canonical" href="https://qucodex.com/">
2652

27-
<!-- Open Graph / Facebook -->
2853
<meta property="og:type" content="website">
2954
<meta property="og:url" content="https://qucodex.com/">
3055
<meta property="og:title" content="CodeX | Coding the Future, Today.">
@@ -38,7 +63,6 @@
3863
<meta property="og:site_name" content="CodeX">
3964
<meta property="og:locale" content="en_IN">
4065

41-
<!-- Twitter -->
4266
<meta name="twitter:card" content="summary_large_image">
4367
<meta name="twitter:url" content="https://x.com/qucodex">
4468
<meta name="twitter:title" content="CodeX | Coding the Future, Today.">
@@ -49,7 +73,6 @@
4973
<meta name="twitter:site" content="@qucodex">
5074
<meta name="twitter:creator" content="@qucodex">
5175

52-
<!-- Fonts -->
5376
<link rel="preconnect" href="https://fonts.googleapis.com">
5477
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
5578
<link rel="preconnect" href="https://api.qucodex.com" crossorigin>
@@ -58,7 +81,6 @@
5881
href="https://fonts.googleapis.com/css2?family=Alex+Brush&family=Cinzel:wght@400;600;700;800&family=Great+Vibes&family=JetBrains+Mono:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@400;500;600;700&family=Oswald:wght@400;700&family=Pinyon+Script&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Poppins:wght@400;500;600;700&display=swap"
5982
rel="stylesheet">
6083

61-
<!-- Favicons & App Manifest -->
6284
<link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96">
6385
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
6486
<link rel="shortcut icon" href="/favicon.ico">
@@ -69,7 +91,6 @@
6991
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
7092
<meta name="apple-mobile-web-app-title" content="CodeX">
7193

72-
<!-- Content Security Policy (Audited for all 3rd Party Integrations) -->
7394
<meta http-equiv="Content-Security-Policy" content="
7495
default-src 'self';
7596
@@ -146,6 +167,7 @@
146167
} catch (e) { }
147168
})();
148169
</script>
170+
149171
</head>
150172

151173
<body>

‎Frontend/public/robots.txt‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
User-agent: *
2+
Allow: /
3+
Disallow: /admin/
4+
Disallow: /verify-certificate/
5+
Disallow: /verify-boarding-pass/
6+
7+
Sitemap: https://qucodex.com/sitemap.xml

‎Frontend/public/sitemap.xml‎

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3+
<url>
4+
<loc>https://qucodex.com/</loc>
5+
<changefreq>weekly</changefreq>
6+
<priority>1.0</priority>
7+
</url>
8+
<url>
9+
<loc>https://qucodex.com/#home</loc>
10+
<changefreq>weekly</changefreq>
11+
<priority>0.8</priority>
12+
</url>
13+
<url>
14+
<loc>https://qucodex.com/#vision</loc>
15+
<changefreq>weekly</changefreq>
16+
<priority>0.8</priority>
17+
</url>
18+
<url>
19+
<loc>https://qucodex.com/#domains</loc>
20+
<changefreq>weekly</changefreq>
21+
<priority>0.8</priority>
22+
</url>
23+
<url>
24+
<loc>https://qucodex.com/#programs</loc>
25+
<changefreq>weekly</changefreq>
26+
<priority>0.8</priority>
27+
</url>
28+
<url>
29+
<loc>https://qucodex.com/#faqs</loc>
30+
<changefreq>weekly</changefreq>
31+
<priority>0.8</priority>
32+
</url>
33+
<url>
34+
<loc>https://qucodex.com/#contact</loc>
35+
<changefreq>weekly</changefreq>
36+
<priority>0.8</priority>
37+
</url>
38+
<url>
39+
<loc>https://qucodex.com/#join</loc>
40+
<changefreq>weekly</changefreq>
41+
<priority>0.8</priority>
42+
</url>
43+
<url>
44+
<loc>https://qucodex.com/about</loc>
45+
<changefreq>monthly</changefreq>
46+
<priority>0.8</priority>
47+
</url>
48+
<url>
49+
<loc>https://qucodex.com/about#hero</loc>
50+
<changefreq>monthly</changefreq>
51+
<priority>0.7</priority>
52+
</url>
53+
<url>
54+
<loc>https://qucodex.com/about#community</loc>
55+
<changefreq>monthly</changefreq>
56+
<priority>0.7</priority>
57+
</url>
58+
<url>
59+
<loc>https://qucodex.com/about#events</loc>
60+
<changefreq>monthly</changefreq>
61+
<priority>0.7</priority>
62+
</url>
63+
<url>
64+
<loc>https://qucodex.com/about#leadership</loc>
65+
<changefreq>monthly</changefreq>
66+
<priority>0.7</priority>
67+
</url>
68+
<url>
69+
<loc>https://qucodex.com/about#partners</loc>
70+
<changefreq>monthly</changefreq>
71+
<priority>0.7</priority>
72+
</url>
73+
<url>
74+
<loc>https://qucodex.com/team</loc>
75+
<changefreq>monthly</changefreq>
76+
<priority>0.8</priority>
77+
</url>
78+
<url>
79+
<loc>https://qucodex.com/events</loc>
80+
<changefreq>weekly</changefreq>
81+
<priority>0.9</priority>
82+
</url>
83+
<url>
84+
<loc>https://qucodex.com/register</loc>
85+
<changefreq>monthly</changefreq>
86+
<priority>0.7</priority>
87+
</url>
88+
<url>
89+
<loc>https://qucodex.com/privacy-policy</loc>
90+
<changefreq>yearly</changefreq>
91+
<priority>0.5</priority>
92+
</url>
93+
<url>
94+
<loc>https://qucodex.com/terms-conditions</loc>
95+
<changefreq>yearly</changefreq>
96+
<priority>0.5</priority>
97+
</url>
98+
<url>
99+
<loc>https://qucodex.com/community-guidelines</loc>
100+
<changefreq>yearly</changefreq>
101+
<priority>0.5</priority>
102+
</url>
103+
<url>
104+
<loc>https://qucodex.com/event-policy</loc>
105+
<changefreq>yearly</changefreq>
106+
<priority>0.5</priority>
107+
</url>
108+
<url>
109+
<loc>https://qucodex.com/accessibility</loc>
110+
<changefreq>yearly</changefreq>
111+
<priority>0.5</priority>
112+
</url>
113+
<url>
114+
<loc>https://qucodex.com/payment-registration-guide</loc>
115+
<changefreq>yearly</changefreq>
116+
<priority>0.5</priority>
117+
</url>
118+
</urlset>

0 commit comments

Comments
 (0)