File tree 1 file changed +16
-1
lines changed
1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ Authentication Flow uses `json web tokens` via Passport library - `passport-jwt`
13
13
- ✅ ` TypeScript ` , ` Joy ` for validation
14
14
- ✅ ** Stack** : NodeJS / Express / SQLite / TypeORM
15
15
- ✅ Auth: Passport / ` passport-jwt ` strategy
16
+ - ✅ OAuth for Github
16
17
- 🚀 ` Instant Deploy ` on RENDER using [ Python Deployer] ( https://github.com/app-generator/deploy-automation-render )
17
18
- ` python.exe deployer.py nodejs <THIS_REPO> `
18
19
@@ -78,6 +79,20 @@ $ yarn typeorm migration:run
78
79
79
80
<br />
80
81
82
+ > ** Step 5** - Edit the ` .env ` using the template ` .env.sample ` .
83
+
84
+ ``` env
85
+ PORT=5000 # API PORT
86
+ SQLITE_PATH=./database.db # Path to the SQLite database file
87
+ SECRET="Whatever-STRONG" # Secret for sensitive data hashing
88
+
89
+ # Same as for React APP
90
+ GITHUB_OAUTH_CLIENT_ID= ... # Github OAuth secret
91
+ GITHUB_OAUTH_CLIENT_SECRET= ... # Github OAuth secret
92
+ ```
93
+
94
+ <br />
95
+
81
96
> ** Step 4** - Start the API server (development mode)
82
97
83
98
``` bash
@@ -148,7 +163,7 @@ The SQLite Path is set in `.env`, as `SQLITE_PATH`
148
163
$ yarn typeorm migration:generate -n your_migration_name
149
164
```
150
165
151
- > run migration:
166
+ > Run migration:
152
167
153
168
``` bash
154
169
$ yarn typeorm migration:run
You can’t perform that action at this time.
0 commit comments