-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.js
More file actions
109 lines (102 loc) · 2.89 KB
/
Copy pathapp.js
File metadata and controls
109 lines (102 loc) · 2.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
var express = require("express");
var bodyParser = require("body-parser");
var app = express();
app.use(bodyParser.urlencoded({ extended: true }));
app.set("view engine", "ejs");
app.use(express.static("public"));
app.get("/", function (req, res) {
res.render("landing");
});
app.get("/events", function (req, res) {
res.render("events");
});
app.get("/hackathon", function (req, res) {
res.render("hackathon");
});
app.get("/makeathon", function (req, res) {
res.render("makeathon");
});
app.get("/paperpresentation", function (req, res) {
res.render("paperpresentation");
});
app.get("/workshop", function (req, res) {
res.render("workshop");
});
app.get("/informals", function (req, res) {
res.render("informals");
});
app.get("/accomodation", function (req, res) {
res.render("accomodation");
});
app.get("/contact", function (req, res) {
res.render("contact");
});
app.get("/team", function (req, res) {
res.render("team");
});
app.get("/events/smartcitydesign", function (req, res) {
res.render("events/smartcitydesign");
});
app.get("/events/surveying", function (req, res) {
res.render("events/surveying");
});
app.get("/events/epitome", function (req, res) {
res.render("events/epitome");
});
app.get("/events/electrobuzz", function (req, res) {
res.render("events/electrobuzz");
});
app.get("/events/lathewar", function (req, res) {
res.render("events/lathewar");
});
app.get("/events/nitroracing", function (req, res) {
res.render("events/nitroracing");
});
app.get("/events/codingkbc", function (req, res) {
res.render("events/codingkbc");
});
app.get("/events/codedate", function (req, res) {
res.render("events/codedate");
});
app.get("/events/virtualcampus", function (req, res) {
res.render("events/virtualcampus");
});
app.get("/events/energycontraption", function (req, res) {
res.render("events/energycontraption");
});
app.get("/events/pickorun", function (req, res) {
res.render("events/pickorun");
});
app.get("/events/cadster", function (req, res) {
res.render("events/cadster");
});
app.get("/events/webquest", function (req, res) {
res.render("events/webquest");
});
app.get("/workshop/photoshop", function (req, res) {
res.render("workshop/photoshop");
});
app.get("/workshop/systemadministration", function (req, res) {
res.render("workshop/systemadministration");
});
app.get("/workshop/iot", function (req, res) {
res.render("workshop/iot");
});
app.get("/workshop/cnc", function (req, res) {
res.render("workshop/cnc");
});
app.get("/workshop/rcracing", function (req, res) {
res.render("workshop/rcracing");
});
app.get("/informals/treasurehunt", function (req, res) {
res.render("informals/treasurehunt");
});
app.get("/informals/jugaad", function (req, res) {
res.render("informals/jugaad");
});
app.get("/informals/pubg", function (req, res) {
res.render("informals/pubg");
});
app.listen(3000, function () {
console.log("Website has been started");
});