Skip to content

Commit 042124f

Browse files
committed
copied project for chapter 22
1 parent 666038d commit 042124f

File tree

119 files changed

+16025
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+16025
-0
lines changed

22/blog/blog-backend/.env

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
PORT=4000
2+
MONGO_URI=mongodb://localhost/blog
3+
ADMIN_PASS=react123
4+
COOKIE_SIGN_KEY=C00KiE$1GNK3Y

22/blog/blog-backend/.eslintrc.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
const path = require('path');
2+
3+
module.exports = {
4+
"extends": "airbnb-base",
5+
"settings": {
6+
"import/resolver": {
7+
node: { paths: [path.resolve('./src')] }
8+
},
9+
},
10+
"rules": {
11+
"no-unused-vars": 1,
12+
"comma-dangle": 0,
13+
"no-console": 0,
14+
"eol-last": 0
15+
}
16+
};

22/blog/blog-backend/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

22/blog/blog-backend/jsconfig.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"compilerOptions": {
3+
"baseUrl": "./src"
4+
}
5+
}

0 commit comments

Comments
 (0)