Skip to content

Commit 91fe27b

Browse files
committed
Add tailwind and form support
1 parent 56e3c7e commit 91fe27b

15 files changed

Lines changed: 184683 additions & 34 deletions

File tree

.dockerignore

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

config/config.development.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"databaseConfig": {
3-
"host": "mongodb",
3+
"host": "localhost",
44
"database": "funWithDocker"
55
}
66
}

models/dockerCommand.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@ var dockerCommandSchema = Schema({
1717

1818
var DockerCommandModel = mongoose.model('dockerCommand', dockerCommandSchema);
1919

20-
2120
module.exports = DockerCommandModel;

package-lock.json

Lines changed: 1155 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,26 @@
33
"version": "1.0.0",
44
"private": true,
55
"scripts": {
6-
"start": "node server.js"
6+
"start": "node server.js",
7+
"tailwind:css": "postcss public/styles/tailwind.css -o public/styles/styles.css"
78
},
89
"dependencies": {
10+
"@handlebars/allow-prototype-access": "^1.0.3",
11+
"autoprefixer": "^10.2.4",
912
"body-parser": "^1.19.0",
1013
"cookie-parser": "^1.4.5",
1114
"debug": "^4.3.1",
1215
"express": "^4.17.1",
13-
"handlebars": "^4.7.6",
14-
"@handlebars/allow-prototype-access": "^1.0.3",
1516
"express-handlebars": "5.2.0",
16-
"morgan": "^1.10.0",
17-
"serve-favicon": "^2.5.0",
17+
"handlebars": "^4.7.6",
1818
"mongoose": "^5.11.14",
19-
"readline": "1.3.0"
19+
"morgan": "^1.10.0",
20+
"postcss": "^8.2.6",
21+
"postcss-cli": "^8.3.1",
22+
"readline": "1.3.0",
23+
"serve-favicon": "^2.5.0"
24+
},
25+
"devDependencies": {
26+
"tailwindcss": "^2.0.3"
2027
}
2128
}

postcss.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
plugins: {
3+
tailwindcss: {},
4+
autoprefixer: {},
5+
}
6+
}

public/images/docker.png

16.1 KB
Loading

0 commit comments

Comments
 (0)