File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
- # COdebadge Backend
1
+ # Codebadge Backend
2
2
Setup locally
3
3
1 . install dependencies
4
4
``` npm i ```
@@ -7,33 +7,33 @@ Setup locally
7
7
8
8
3 . create oauth for codebadge app
9
9
10
- * Github oauth(presently supported)
10
+ #### Github oauth(presently supported)
11
11
12
12
** step 1:-** create github oauth app
13
-
13
+ ```
14
14
App nam => Codebadge
15
15
16
16
home url => http://localhost:3000
17
17
18
18
callback url => http://localhost:3001/github/auth/callback
19
-
19
+ ```
20
20
** step 2:-** create config.js in config folder by copyinf config-sample.js
21
21
22
22
** step 3:-** copy client id and client secret respectively in github keys for github oauth app
23
23
24
- * Google oauth
24
+ #### Google oauth
25
25
26
26
** step 1:-** create github oauth app
27
-
27
+ ```
28
28
App nam => Codebadge
29
29
30
30
home url => http://localhost:3000
31
31
32
32
callback url => http://localhost:3001/google/auth/callback
33
-
33
+ ```
34
34
** step 2:-** create config.js in config folder by copyinf config-sample.js
35
35
36
36
** step 3:-** copy client id and client secret respectively in github keys for github oauth app
37
37
38
38
4 . start server
39
- ``` npm start ```
39
+ ``` npm start ```
You can’t perform that action at this time.
0 commit comments