17 Commits

Author SHA1 Message Date
67e3f738ad Update server.js 2022-03-31 16:36:30 +02:00
f59e1f285b Update server.js 2022-03-31 16:33:04 +02:00
Sunny Dhoke
235e8d7108 Added Heroku deploy button 2020-10-09 20:25:40 +05:30
Sunny Dhoke
e8b87005e2 Dev (#2) 2020-10-09 20:19:48 +05:30
Sunny Dhoke
1af4324869 Adding CI 2020-10-09 17:18:15 +05:30
Sunny Dhoke
5453470e43 Added ability to deploy on Heroku 2020-10-09 17:00:35 +05:30
Sunny Dhoke
a2acc098a7 Added timestamp feature
`.createdAt`;
gives the moment the link was submitted
2020-10-09 17:00:35 +05:30
Sunny Dhoke
83bafe3f7f Added clicks abd ability to redirect to full url
You can click on short or full url.
Increments the count and updates in db.
Sends 404 if null url.
2020-10-09 17:00:35 +05:30
Sunny Dhoke
dee251b524 typo 2020-10-09 17:00:35 +05:30
Sunny Dhoke
eeb195793c Working prototype. 2020-10-09 17:00:35 +05:30
Sunny Dhoke
3869894394 Adding data model/ Schema
| fullurl | shorturl | clicks |

+ shortid-library to shorten url/get id from url
2020-10-09 17:00:35 +05:30
Sunny Dhoke
6f36ae8680 connection to mongodb
using mongoose, no schema yet.
2020-10-09 17:00:35 +05:30
Sunny Dhoke
b198e531f2 Added Bootstrap CSS 2020-10-09 17:00:35 +05:30
Sunny Dhoke
2dc434103c Form
Table generated from form data
2020-10-09 17:00:35 +05:30
Sunny Dhoke
a0a339aa3f Hello Universe
Simple index view with ejs
2020-10-09 17:00:35 +05:30
Sunny Dhoke
a1a25c8ac9 Initital setup
Added commands for setup
2020-10-08 10:13:28 +05:30
Sunny Dhoke
9bbeeed023 Initial commit 2020-10-08 08:09:43 +05:30