mirror of
https://github.com/SrIzan10/YouRL.git
synced 2026-05-01 11:15:09 +00:00
Initital setup
Added commands for setup
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
node_modules/
|
||||
22
README.md
22
README.md
@@ -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
1658
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
31
package.json
Normal file
31
package.json
Normal 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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user