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
A boilerplate for scaffolding production-ready MERN stack projects.
5
4
6
-
This is a boilerplate for scaffolding MERN stack projects with livereload feature supported.
5
+
|| master | dev |
6
+
| --- | --- | --- |
7
+
| Build Status |[](https://travis-ci.org/gocreating/express-react-hmr-boilerplate)|[](https://travis-ci.org/gocreating/express-react-hmr-boilerplate)|
8
+
| Dependency Status |[](https://david-dm.org/gocreating/express-react-hmr-boilerplate)| - |
7
9
8
10
## Demo
9
11
@@ -33,6 +35,7 @@ This is a boilerplate for scaffolding MERN stack projects with livereload featur
33
35
- Social Authentication
34
36
- i18n
35
37
- Upload avatar
38
+
- Recaptcha
36
39
- Ajax progress bar
37
40
- Google Analytics
38
41
- Admin System
@@ -49,18 +52,40 @@ npm install
49
52
50
53
Most services this boilerplate provides rely on mongoDB. You must config your own mongoDB URIs. The only thing you need to do is create your own `configs/project/mongo/credential.js` based on the provided template `configs/project/mongo/credential.tmpl.js`.
51
54
55
+
## Config Nodemailer (Optional)
56
+
57
+
### Gmail
58
+
59
+
Here I take the popular gmail service as example.
60
+
61
+
1. Create your own `configs/project/nodemailer/credential.js`
62
+
63
+
You can check all supported services [here](https://github.com/nodemailer/nodemailer-wellknown#supported-services)
64
+
65
+
2. Fix security issue
66
+
67
+
If you are going to run tests on travis or deploy the app on heroku, you might meet the issue that the app cannot login your gmail account from travis/heroku server. You need to manually authorize permissions to your testing/production servers.
68
+
> This is also documented on [nodemailer](https://github.com/nodemailer/nodemailer#tldr-usage-example)
69
+
52
70
## Config Google Analytics (Optional)
53
71
54
72
TBD
55
73
56
-
## Config Facebook Login (Optional)
74
+
## Config Social Authentication (Optional)
75
+
76
+
### Facebook
57
77
58
78
TBD
59
79
60
-
##Config LinkedIn Login (Optional)
80
+
### LinkedIn
61
81
62
82
TBD
63
83
84
+
## Config ReCAPTCHA (Optional)
85
+
86
+
1. Get your API keys on [reCAPTCHA](https://www.google.com/recaptcha/admin)
87
+
2. Save keys in `configs/project/recaptcha/credential.js`.
Firebase provides 5GB/user file storage for [free](https://firebase.google.com/pricing/) and is backed up by google cloud storage service. Thus we use firebase storage `for free` to host user avatars.
-[x][Social Auth for Facebook And LinkedIn](https://github.com/gocreating/express-react-hmr-boilerplate/commit/ccaaa608e7efa0a0c1693ddd7072c0e4e62d003b)
0 commit comments