Initital setup

Added commands for setup
This commit is contained in:
Sunny Dhoke
2020-10-08 10:13:28 +05:30
parent 9bbeeed023
commit a1a25c8ac9
4 changed files with 1711 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
node_modules/

View File

@@ -1,2 +1,22 @@
# YouRL
A url shortner in MongoDB,Express and Node.js
A url shortner in MongoDB,Express and Node.js
## dependencies
###
//npm init
`npm i express mongoose ejs`
express- web framework
mongoose- for mongodb
ejs- templating language to create views
### dev dependencies
`npm i --save-dev nodemon`
For refreshing server for every new change

1658
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

31
package.json Normal file
View File

@@ -0,0 +1,31 @@
{
"name": "yourl",
"version": "1.0.0",
"description": "A url shortner",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sunn-e/YouRL.git"
},
"keywords": [
"URL",
"shortner"
],
"author": "sunn-e",
"license": "ISC",
"bugs": {
"url": "https://github.com/sunn-e/YouRL/issues"
},
"homepage": "https://github.com/sunn-e/YouRL#readme",
"dependencies": {
"ejs": "^3.1.5",
"express": "^4.17.1",
"mongoose": "^5.10.8"
},
"devDependencies": {
"nodemon": "^2.0.4"
}
}