You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PROD_CHECKLIST.md
+10-15Lines changed: 10 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,22 @@
1
1
If you are done with your hackathon and thinking about launching your project into production, or if you are just using this boilerplate to start your soon to be in production application, this document is a checklist to help you get your application production ready.
2
2
3
-
- Remove Unused code and configs
4
-
- Add a proxy such as Cloudflare in front of your production deployment. Adjust numberOfProxies logic in app.js if needed.
3
+
- Remove unused code and configs
4
+
- Add a proxy such as Cloudflare in front of your production deployment. Adjust the numberOfProxies logic in app.js if needed
5
5
- Update the session cookie configs with sameSite attribute, domain, and path
6
6
- Add Terms of Service and Privacy Policy
7
-
- Update `License.md` and the relevant license field in package.json if applicable - See [npm's doc](https://docs.npmjs.com/files/package.json#license).
7
+
- Update `LICENSE.md` and the relevant license field in package.json if applicable - See [npm's doc](https://docs.npmjs.com/files/package.json#license).
8
8
- Add [sitemap.xml](https://en.wikipedia.org/wiki/Sitemaps) and [robots.txt](https://moz.com/learn/seo/robotstxt)
9
9
- Update Google Analytics ID
10
10
- Add Facebook App/Pixel ID
11
11
- Add Winston Logging, and replace console.log statements with Winston; have a process for monitoring errors to identify bugs or other issues after launch.
12
12
- SEO and Social Media Improvements
13
13
- Create a deployment pipeline with a pre-prod/integration test stage.
14
14
- (optional) Add email verification _Some experimental data has shown that bogus email addresses are not a significant problem in many cases_
15
-
- (optional) Add a filter with [disposable-email-domains](https://www.npmjs.com/package/disposable-email-domains). _Some experimental data has shown that use of disposable emails is typically rare, and in many cases it might not be worth add the filter._
15
+
- (optional) Add a filter with [disposable-email-domains](https://www.npmjs.com/package/disposable-email-domains). _Some experimental data has shown that use of disposable emails is typically rare, and in many cases it might not be worth adding the filter._
16
16
17
17
### Remove unused code and configs
18
18
19
-
The following is a list of various codes that you may not potential be using and you could remove depending on your application:
19
+
The following is a list of various code that you may not potentially be using and you could remove depending on your application:
20
20
21
21
- Unused keys from .env file
22
22
- /controllers/api.js entirely
@@ -27,7 +27,7 @@ The following is a list of various codes that you may not potential be using and
27
27
- Openshift env references
28
28
- csrf check exception for /api/upload
29
29
- All API example routes
30
-
- OAuth routes for authentications that you are not using (i.e.Github, LinkedIn, etc based on your app)
30
+
- OAuth routes for authentications that you are not using (i.e. GitHub, LinkedIn, etc. based on your app)
31
31
- All OAuth authorization routes
32
32
- passport.js all references and functions related to:
33
33
- Github, LinkedIn, OpenID, OAuth, OAuth2
@@ -38,11 +38,11 @@ The following is a list of various codes that you may not potential be using and
38
38
- /test
39
39
- Replace E2E and API example tests with new tests for your application
40
40
- views/account/login.pug
41
-
- Some or all of the last form-group set which are the social login choices
41
+
- Some or all of the last form-group set, which are the social login choices
42
42
- views/account/profile.pug
43
-
- Link/unlink buttons for Github, LinkedIn, steam
44
-
-Removed readme, changelog, this guide, docker related files if not using them
45
-
- Create a domain whitelist for your app in Here's developer portal if you are using the Here's map API.
43
+
- Link/unlink buttons for GitHub, LinkedIn, Steam
44
+
-Remove README, changelog, this guide, Docker-related files if not using them
45
+
- Create a domain whitelist for your app in Here's developer portal if you are using the HERE Maps API.
46
46
- Add unit tests so you can test and incorporate dependency and upstream updates with less effort. GPT tools may create some good unit tests with very low effort.
47
47
48
48
### Search Engine Optimization (SEO)
@@ -62,8 +62,3 @@ Note that SEO only applies to the pages that will be publicly visible with no au
62
62
```
63
63
<meta name="Description" content="Description about the page.">
64
64
```
65
-
66
-
- Add the Google Plus page as the publisher of the website.
Copy file name to clipboardExpand all lines: SECURITY.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,6 @@
2
2
3
3
## Supported Versions
4
4
5
-
Use this section to tell people about which versions of your project are currently being supported with security updates.
6
-
7
5
| Version | Supported |
8
6
| ------- | ------------------ |
9
7
| latest |:white_check_mark:|
@@ -14,12 +12,12 @@ Use this section to tell people about which versions of your project are current
14
12
15
13
PRIOR TO SUBMITTING SECURITY CONCERNS/REPORTS:
16
14
17
-
1. Research Wikipedia and other sources about hackathons to get more familiar with the potential uses of this project, the intended settings, and usage environments.
18
-
2. Read README.MD entirely, including the intro paragraph and steps for Obtaining API Keys which includes replacing the .env values. The provided values in the .env file are placeholders, not a batch of keys exposed thru GitHub.
19
-
3. Read prod-checklist.md. Hackathon projects are not production projects, and this checklist is to help users with their next steps to move from a prototype state to a production state.
15
+
1. Research Wikipedia and other sources about hackathons to become more familiar with the potential uses of this project, the intended settings, and usage environments.
16
+
2. Read README.md entirely, including the introduction and the steps for obtaining API keys, which includes replacing the .env values. The provided values in the .env file are placeholders, not a batch of keys exposed through GitHub.
17
+
3. Read PROD_CHECKLIST.md. Hackathon projects are not production projects, and this checklist is to help users with their next steps to move from a prototype state to a production state.
20
18
21
19
SUBMITTING SECURITY CONCERNS/REPORTS:
22
20
23
21
1. Complete the above steps 1 to 3.
24
22
2. If you still believe you have identified an issue, please submit it as a GitHub Issue at https://github.com/sahat/hackathon-starter/issues with the relevant information for discussion and clarification.
25
-
Submissions requiring registration with 3rd party websites will be marked/reported as spam.
23
+
Submissions requiring registration with third-party websites will be marked/reported as spam.
Copy file name to clipboardExpand all lines: controllers/ai.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -620,7 +620,7 @@ Provide the output in this JSON structure:
620
620
}
621
621
Replace <selected_department> with the name of the most relevant department from the list above. If the inquiry spans multiple categories, choose the department that is most likely to address the customer's issue promptly and effectively.`;
// Generic error message for the user. Do not reveal the cause of the error tsuch as
323
-
// the new email being in the system to the user to avoid enumeration vulenrability.
322
+
// Generic error message for the user. Do not reveal the cause of the error, such as
323
+
// the new email being in the system, to the user to avoid enumeration vulnerability.
324
324
req.flash('errors',{
325
325
msg: "We encountered an issue updating your email address. If you suspect you have duplicate accounts, please log in with the other email address you've used or contact support for assistance. You can delete duplicate accounts from your account settings.",
0 commit comments