Skip to content

Commit 881a369

Browse files
committed
- Updating backend to match appy
1 parent 107caf3 commit 881a369

File tree

97 files changed

+19353
-11466
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+19353
-11466
lines changed

.dockerignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
**/node_modules
2+
**/assets
3+
**/.idea

.env-docker

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
JWT_SECRET=secret
2+
SOCIAL_PASSWORD=secret
3+
SMTP_PASSWORD=secret
4+
MONGODB_URI=mongodb://mongo:27017/appy
5+
CLIENT_URI=http://localhost:8080
6+
FACEBOOK_ID=1234
7+
FACEBOOK_SECRET=abcd
8+
FACEBOOK_ACCESS_TOKEN=5678
9+
GOOGLE_ID=1234
10+
GOOGLE_SECRET=abcd
11+
GITHUB_ID=1234
12+
GITHUB_SECRET=abcd
13+
AWS_ACCESS_KEY_ID=1234
14+
AWS_SECRET_ACCESS_KEY=abcd
15+

.env-sample

+13-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,14 @@
1+
JWT_SECRET=secret
2+
SOCIAL_PASSWORD=secret
13
SMTP_PASSWORD=secret
2-
PORT=meh
4+
MONGODB_URI=mongodb://localhost:27017/appy
5+
CLIENT_URI=http://localhost:8080
6+
FACEBOOK_ID=1234
7+
FACEBOOK_SECRET=abcd
8+
FACEBOOK_ACCESS_TOKEN=5678
9+
GOOGLE_ID=1234
10+
GOOGLE_SECRET=abcd
11+
GITHUB_ID=1234
12+
GITHUB_SECRET=abcd
13+
AWS_ACCESS_KEY_ID=1234
14+
AWS_SECRET_ACCESS_KEY=abcd

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test

.eslintrc.js

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// http://eslint.org/docs/user-guide/configuring
2+
3+
module.exports = {
4+
root: true,
5+
parser: 'babel-eslint',
6+
parserOptions: {
7+
sourceType: 'module',
8+
},
9+
env: {
10+
browser: true,
11+
},
12+
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
13+
extends: ['prettier-standard'],
14+
plugins: ['prettier'],
15+
// add your custom rules here
16+
rules: {
17+
// allow paren-less arrow functions
18+
'arrow-parens': 0,
19+
// allow async-await
20+
'generator-star-spacing': 0,
21+
// allow debugger during development
22+
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
23+
'prettier/prettier': 'error',
24+
},
25+
};

0 commit comments

Comments
 (0)