forked from 100devs/binary-upload-boom
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
53 lines (52 loc) · 1.8 KB
/
Copy pathpackage.json
File metadata and controls
53 lines (52 loc) · 1.8 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
// List of packages used for the app, versions, dependencies,
{
"name": "binary-upload",
"version": "1.0.0",
"description": "100Devs Social Network",
// main file to start the server
"main": "server.js",
"scripts": {
//npm start = nodemon server.js
"start": "nodemon server.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "MIT",
// can separate into dev dependencies that only runs when developing and not in production ex: nodemon
"dependencies": {
// hash our passwords
"bcrypt": "^5.0.1",
// cdn for media
"cloudinary": "^1.25.1",
// used for storage of the session
"connect-mongo": "^3.2.0",
//creates .env file to store sensitve keys
"dotenv": "^8.2.0",
// Views templating language
"ejs": "^3.1.6",
//framework that prevents having to use basic node (lots of needing to know specifics of each request)
"express": "^4.17.1",
// show flash messages during login/signup
"express-flash": "^0.0.2",
// creates cookies on our browser so we can save the sessions into data bases
"express-session": "^1.17.1",
// allows form requests to be PUT and DELETE req
"method-override": "^3.0.0",
// connects to the db
"mongodb": "^3.6.5",
// Object data modeling library that abstracts lots of things from mongo client
"mongoose": "^5.12.3",
// morgan is the dev logger
"morgan": "^1.10.0",
// allows client to upload files
"multer": "^1.4.5-lts.1",
// allows the server to refresh without starting and stoping the server
"nodemon": "^2.0.7",
// needed for authentication
"passport": "^0.6.0",
// package is needed for local authentication
"passport-local": "^1.0.0",
// used for POST req for signup/login
"validator": "^13.6.0"
}
}