Skip to content

Commit

Permalink
chore(stabilize-base-application): stabilize base application for dep…
Browse files Browse the repository at this point in the history
…loyment on Heroku

- remove jquery dependency
- remove client build from VC
- add env.sample files to client and server applications
- rename folders to follow airbnb style guide
- make client app build on Heroku
- remove extraneous dependecies in client app
- add disqus for reviewing a book
- add webpack alias for eslint
  • Loading branch information
adesege committed Nov 15, 2017
1 parent 9ce2ca7 commit a5664de
Show file tree
Hide file tree
Showing 140 changed files with 2,222 additions and 5,473 deletions.
23 changes: 23 additions & 0 deletions .env.sample
@@ -0,0 +1,23 @@
COVERALLS_REPO_TOKEN=

TEST_DB_NAME=
TEST_DB_HOST=
TEST_DB_PASSWORD=
TEST_DB_USERNAME=

PRODUCTION_DB_NAME=
PRODUCTION_DB_HOST=
PRODUCTION_DB_PASSWORD=
PRODUCTION_DB_USERNAME=

DEVELOPMENT_DB_NAME=
DEVELOPMENT_DB_HOST=
DEVELOPMENT_DB_PASSWORD=
DEVELOPMENT_DB_USERNAME=

TOKEN_SECRET=

GMAIL_USERNAME=
GMAIL_PASSWORD=

EMAIL_FROM=
2 changes: 0 additions & 2 deletions .eslintignore
Expand Up @@ -3,7 +3,5 @@ template/assets/**
server/dist/**
.idea/
template/**
client/src/assets/**
client/public/**
coverage/
.nyc_output/
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -7,3 +7,4 @@ server/dist/**
coverage/
.nyc_output/
.DS_STORE
client/build
3 changes: 1 addition & 2 deletions .travis.yml
Expand Up @@ -29,8 +29,7 @@ before_script:
- psql -c 'create database travis;' -U postgres
- npm run build
script:
- NODE_ENV=test npm test
after_success:
- npm run coveralls
after_success:
- codeclimate-test-reporter < coverage/lcov.info
- coveralls < coverage/lcov.info
3 changes: 2 additions & 1 deletion client/.babelrc
@@ -1,3 +1,4 @@
{
"presets": ["es2015", "stage-0", "react"]
"presets": ["es2015", "react"],
"plugins": ["transform-object-rest-spread", "transform-es2015-destructuring"]
}
18 changes: 18 additions & 0 deletions client/.env.sample
@@ -0,0 +1,18 @@
PORT=
NODE_ENV=
APP_CLOUD_NAME=
APP_API_KEY=
APP_API_SECRET=
APP_CLOUDINARY_URL=


AUTH_GOOGLE_CLIENT_ID=
AUTH_GOOGLE_CLIENT_SECRET=
AUTH_GOOGLE_CALLBACK=

AUTH_FACEBOOK_CLIENT_ID=
AUTH_FACEBOOK_CLIENT_SECRET=
AUTH_FACEBOOK_CALLBACK=

DISQUS_SHORT_NAME=
ROOT_URL=
3 changes: 3 additions & 0 deletions client/.eslintignore
@@ -0,0 +1,3 @@
.idea/
assets/**
public/**
3 changes: 3 additions & 0 deletions client/.eslintrc
Expand Up @@ -9,6 +9,9 @@
},
"settings": {
"import/resolver": {
"webpack": {
"config": "./config/webpack.dev.js"
},
"node": {
"extensions": [".js",".jsx"]
}
Expand Down
3 changes: 3 additions & 0 deletions client/.eslintrc.json
Expand Up @@ -9,6 +9,9 @@
},
"settings": {
"import/resolver": {
"webpack": {
"config": "./config/webpack.dev.js"
},
"node": {
"extensions": [".js",".jsx"]
}
Expand Down
263 changes: 0 additions & 263 deletions client/build/css/app.b051282a6774053771f9e8fcc9653ab6.css

This file was deleted.

This file was deleted.

Binary file removed client/build/images/1.jpg
Binary file not shown.
Binary file removed client/build/images/4.jpg
Binary file not shown.
Binary file removed client/build/images/bgbooks.jpg
Binary file not shown.
Binary file removed client/build/images/logo.png
Binary file not shown.
Binary file removed client/build/images/no-cover.jpg
Binary file not shown.
Binary file removed client/build/images/user.png
Binary file not shown.
15 changes: 0 additions & 15 deletions client/build/index.html

This file was deleted.

2 changes: 0 additions & 2 deletions client/build/js/0.js

This file was deleted.

Binary file removed client/build/js/0.js.gz
Binary file not shown.
1 change: 0 additions & 1 deletion client/build/js/0.js.map

This file was deleted.

Binary file removed client/build/js/0.js.map.gz
Binary file not shown.
2 changes: 0 additions & 2 deletions client/build/js/app.js

This file was deleted.

Binary file removed client/build/js/app.js.gz
Binary file not shown.
1 change: 0 additions & 1 deletion client/build/js/app.js.map

This file was deleted.

Binary file removed client/build/js/app.js.map.gz
Binary file not shown.
2 changes: 0 additions & 2 deletions client/build/js/common.js

This file was deleted.

1 change: 0 additions & 1 deletion client/build/js/common.js.map

This file was deleted.

0 comments on commit a5664de

Please sign in to comment.