Skip to content

Commit

Permalink
Adding route validation and returning form data on error
Browse files Browse the repository at this point in the history
  • Loading branch information
hgorges committed Aug 24, 2024
1 parent 4f2cc17 commit 8c19f5c
Show file tree
Hide file tree
Showing 28 changed files with 1,025 additions and 339 deletions.
186 changes: 175 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"main": "./src/server.ts",
"scripts": {
"clean": "rimraf ./dist",
"build": "tsc --watch",
"build:watch": "tsc --watch",
"start": "nodemon",
"test": "jest",
"lint": "eslint .",
"lint:check": "eslint .",
"format:check": "prettier . --check",
"format:fix": "prettier . --write",
"docker:up": "docker compose --env-file ./secrets/.env up",
Expand Down Expand Up @@ -72,6 +72,9 @@
"@googleapis/docs": "^3.0.0",
"@googlemaps/google-maps-services-js": "^3.4.0",
"@sendgrid/mail": "^8.1.3",
"ajv": "^8.17.1",
"ajv-errors": "^3.0.0",
"ajv-formats": "^3.0.1",
"bcrypt": "^5.1.1",
"connect-flash": "^0.1.1",
"connect-redis": "^7.1.1",
Expand All @@ -83,16 +86,18 @@
"date-fns-tz": "^3.1.3",
"dotenv": "^16.4.5",
"ejs": "^3.1.9",
"express": "^4.18.2",
"express": "^4.19.2",
"express-session": "^1.18.0",
"express-sessions": "^1.0.6",
"express-validator": "^7.2.0",
"google-auth-library": "^9.6.3",
"googleapis": "^39.2.0",
"googleapis-common": "^7.0.1",
"http": "^0.0.1-security",
"https": "^1.0.0",
"jsonwebtoken": "^9.0.2",
"knex": "^3.1.0",
"locale-codes": "^1.3.1",
"nodemailer": "^6.9.14",
"nodemailer-sendgrid": "^1.0.3",
"nodemailer-sendgrid-transport": "^0.2.0",
Expand Down
2 changes: 1 addition & 1 deletion public/css/content/login.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
border-radius: 8px;
width: 300px;
margin: 10px;
margin: auto;
}

.input-container {
Expand Down
1 change: 1 addition & 0 deletions public/css/content/settings.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
border-radius: 8px;
width: 300px;
margin: auto;
}

.input-container {
Expand Down
1 change: 1 addition & 0 deletions public/css/content/signup.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
border-radius: 8px;
width: 300px;
margin: auto;
}

.signup-area p {
Expand Down
Loading

0 comments on commit 8c19f5c

Please sign in to comment.