diff --git a/README.md b/README.md new file mode 100644 index 00000000000..50cb9ce6640 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# Personal-Website-webapp + +This is my personal webapp built while doing the NPTEL Introduction to Modern Application Development course in 2016. + +### Here's the link to the project --> https://codepen.io/therealcodearrow/project/full/ZoNwaJ diff --git a/server.js b/server.js index 3d5cece3abd..e968dde0752 100644 --- a/server.js +++ b/server.js @@ -9,12 +9,52 @@ app.get('/', function (req, res) { res.sendFile(path.join(__dirname, 'ui', 'index.html')); }); -app.get('/ui/style.css', function (req, res) { +app.get('/index.html', function (req, res) { + res.sendFile(path.join(__dirname, 'ui', 'index.html')); +}); + +app.get('/style.css', function (req, res) { res.sendFile(path.join(__dirname, 'ui', 'style.css')); }); -app.get('/ui/madi.png', function (req, res) { - res.sendFile(path.join(__dirname, 'ui', 'madi.png')); +app.get('/main.js', function (req, res) { + res.sendFile(path.join(__dirname, 'ui', 'main.js')); +}); + +app.get('/contact.html', function (req, res) { + res.sendFile(path.join(__dirname, 'ui', 'contact.html')); +}); + +app.get('/follow.html', function (req, res) { + res.sendFile(path.join(__dirname, 'ui', 'follow.html')); +}); + +app.get('/about.html', function (req, res) { + res.sendFile(path.join(__dirname, 'ui', 'about.html')); +}); + +//images + +app.get('/dev.jpg', function (req, res) { + res.sendFile(path.join(__dirname, 'ui', 'dev.jpg')); +}); + +app.get('/dev2.jpg', function (req, res) { + res.sendFile(path.join(__dirname, 'ui', 'dev2.jpg')); +}); +app.get('/dev3.jpg', function (req, res) { + res.sendFile(path.join(__dirname, 'ui', 'dev3.jpg')); +}); +app.get('/dev4.jpg', function (req, res) { + res.sendFile(path.join(__dirname, 'ui', 'dev4.jpg')); +}); + +app.get('/myself.jpg', function (req, res) { + res.sendFile(path.join(__dirname, 'ui', 'myself.jpg')); +}); + +app.get('/about_me.jpg', function (req, res) { + res.sendFile(path.join(__dirname, 'ui', 'about_me.jpg')); }); diff --git a/ui/about.html b/ui/about.html new file mode 100644 index 00000000000..d4f54d61a63 --- /dev/null +++ b/ui/about.html @@ -0,0 +1,102 @@ + + +
+ + + + +A blend of a geek and a perfectionist. A cricket enthusiast. Highly motivated. Extremely ambitious. Loves learning new stuff. Current interests are front end web development and programming.
+ +