Merge branch 'master' of github.com:Human-Connection/Human-Connection into 236-list-social-media-accounts

This commit is contained in:
Matt Rider 2019-04-03 13:31:24 -03:00
commit d9bf8049c5
12 changed files with 1199 additions and 807 deletions

11
.github/ISSUE_TEMPLATE.md vendored Normal file
View File

@ -0,0 +1,11 @@
<!--
Please take a look at the issue templates at https://github.com/Human-Connection/Human-Connection/issues/new/choose
before submitting a new issue. Following one of the issue templates will ensure maintainers can route your request efficiently.
Thanks!
-->
## Issue
<!-- Describe your Issue in detail. -->
<!-- Attach screenshots and drawings if needed. -->

View File

@ -1,35 +1,31 @@
---
name: Bug report
name: 🐛 Bug report
about: Create a report to help us improve
---
**Describe the bug**
A clear and concise description of what the bug is.
## 🐛 Bugreport
<!-- Describe your issue in detail. Include screenshots if needed. Give us as much information as possible. Use a clear and concise description of what the bug is.-->
**To Reproduce**
Steps to reproduce the behavior:
1. Go to 'http...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
### Steps to reproduce the behavior
1.
2.
3.
4. ...
5. Profit
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
### Expected behavior
<!-- A clear and concise description of what you expected to happen. -->
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.
### Version & Environment
Type: [] <!-- [Desktop|Smartphone] -->
- OS: [] <!-- [e.g. iOS8.1 or Windows] -->
- Browser: [] <!-- [e.g. stock browser, safari, chrome] -->
- Version [] <!-- [e.g. 22] -->
- Device: [] <!-- [e.g. iPhone6] -->
### Additional context
<!-- Add any other context about the problem here. -->

View File

@ -1,17 +1,26 @@
---
name: Feature request
name: 🚀 Feature request
about: Suggest an idea for this project
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
## 🚀 Feature
<!-- Describe the Feature. -->
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
### Is your feature request related to a problem? Please describe.
<!-- A clear and concise description of what the problem is.
Ex. I'm always frustrated when [...] -->
**Additional context**
Add any other context or screenshots about the feature request here.
### Describe the prefered solution and alternatives you've considered
<!-- A clear and concise description of what you want to happen.
Are there any alternative solutions or features you've considered? -->
### Design & Layout
<!-- Attach Screenshots and Drawings. -->
### Additional context
<!-- Add any other context or screenshots about the feature request here.-->

10
.github/ISSUE_TEMPLATE/question.md vendored Normal file
View File

@ -0,0 +1,10 @@
---
name: 💬 Question
about: If you need help understanding HumanConnection.
---
<!-- Chat with Team HumanConnection -->
<!-- If you need an answer right away, visit the HumanConnection Discord:
https://discord.gg/Q3mpcgr -->
## 💬 Question
<!-- Describe your Question in detail. Include screenshots and drawings if needed. -->

28
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View File

@ -0,0 +1,28 @@
## Pullrequest
<!-- Describe the Pullrequest. -->
### Issues
<!-- Which Issues does this fix, which are related?
- fixes #XXX
- relates #XXX
-->
- [X] None
### Checklist
<!-- Anything important to be thought of when deploying?
- [ ] Env-Variables adjustment needed
- [ ] Breaking/critical change
-->
- [X] None
### How2Test
<!-- Give a detailed description how to test your PR and confirm it is working as expected. -->
<!-- Maintainers will check the Tests
- [ ] Test1
- [ ] Test2
-->
- [X] None
### Todo
<!-- In case some parts are still missing, list them here. -->
- [X] None

2
.gitignore vendored
View File

@ -10,8 +10,6 @@ yarn-error.log*
.eslintcache
kubeconfig.yaml
/.github
node_modules/
cypress/videos
cypress/screenshots/

View File

@ -34,6 +34,13 @@ Connect with other developers over [Discord](https://discord.gg/6ub73U3)
## Quick Start
### Requirements
Node >= `v10.12.0`
```
node --version
```
### Forking the repository
Before you start, fork the repository using the fork button above, then clone it to your local machine using `git clone https://github.com/your-username/Nitro-Backend.git`
@ -63,6 +70,17 @@ docker-compose down -v
Install dependencies:
Download [Neo4j Community Edition](https://neo4j.com/download-center/#releases) and unpack the files.
Download [Neo4j Apoc](https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases) and drop the file into the `plugins` folder of the just extracted Neo4j-Server
Start Neo4j
```
neo4j\bin\neo4j start
```
and confirm it's running [here](http://localhost:7474)
```bash
yarn install
# -or-

View File

@ -3,9 +3,6 @@
"version": "0.0.1",
"description": "GraphQL Backend for Human Connection",
"main": "src/index.js",
"config": {
"no_auth": "cross-env GRAPHQL_URI=http://localhost:4001 GRAPHQL_PORT=4001 DISABLED_MIDDLEWARES=permissions"
},
"scripts": {
"build": "babel src/ -d dist/ --copy-files",
"start": "node dist/",
@ -25,7 +22,7 @@
"test:coverage": "nyc report --reporter=text-lcov > coverage.lcov",
"db:script:seed": "wait-on tcp:4001 && babel-node src/seed/seed-db.js",
"db:reset": "babel-node src/seed/reset-db.js",
"db:seed": "$npm_package_config_no_auth run-p --race dev db:script:seed"
"db:seed": "cross-env GRAPHQL_URI=http://localhost:4001 GRAPHQL_PORT=4001 DISABLED_MIDDLEWARES=permissions run-p --race dev db:script:seed"
},
"author": "Human Connection gGmbH",
"license": "MIT",
@ -51,7 +48,7 @@
"dotenv": "~7.0.0",
"express": "~4.16.4",
"faker": "~4.1.0",
"graphql": "~14.2.0",
"graphql": "~14.2.1",
"graphql-constraint-directive": "^1.3.0",
"graphql-custom-directives": "~0.2.14",
"graphql-iso-date": "~3.6.1",
@ -70,7 +67,7 @@
"npm-run-all": "~4.1.5",
"request": "~2.88.0",
"sanitize-html": "~1.20.0",
"slug": "~1.0.0",
"slug": "~1.1.0",
"trunc-html": "~1.1.2",
"uuid": "~3.3.2",
"wait-on": "~3.2.0"
@ -80,7 +77,7 @@
"@babel/core": "~7.4.0",
"@babel/node": "~7.2.2",
"@babel/plugin-proposal-throw-expressions": "^7.2.0",
"@babel/preset-env": "~7.4.2",
"@babel/preset-env": "~7.4.3",
"@babel/register": "~7.4.0",
"apollo-server-testing": "~2.4.8",
"babel-core": "~7.0.0-0",
@ -88,17 +85,17 @@
"babel-jest": "~24.5.0",
"chai": "~4.2.0",
"cucumber": "~5.1.0",
"eslint": "~5.15.3",
"eslint": "~5.16.0",
"eslint-config-standard": "~12.0.0",
"eslint-plugin-import": "~2.16.0",
"eslint-plugin-jest": "~22.4.1",
"eslint-plugin-node": "~8.0.1",
"eslint-plugin-promise": "~4.0.1",
"eslint-plugin-promise": "~4.1.1",
"eslint-plugin-standard": "~4.0.0",
"graphql-request": "~1.8.2",
"jest": "~24.5.0",
"jest": "~24.7.0",
"nodemon": "~1.18.10",
"nyc": "~13.3.0",
"supertest": "~4.0.2"
}
}
}

View File

@ -12,6 +12,6 @@ const serverConfig = {
const server = createServer()
server.start(serverConfig, options => {
/* eslint-disable-next-line no-console */
console.log(`Server ready at ${process.env.CLIENT_URI} 🚀`)
console.log(`GraphQLServer ready at ${process.env.GRAPHQL_URI} 🚀`)
ActivityPub.init(server)
})

File diff suppressed because it is too large Load Diff

View File

@ -46,7 +46,7 @@
"cross-env": "~5.2.0",
"date-fns": "2.0.0-alpha.27",
"express": "~4.16.4",
"graphql": "~14.2.0",
"graphql": "~14.2.1",
"jsonwebtoken": "~8.5.1",
"linkify-it": "~2.1.0",
"nuxt": "~2.4.5",
@ -62,20 +62,20 @@
},
"devDependencies": {
"@babel/core": "~7.4.0",
"@babel/preset-env": "~7.4.2",
"@babel/preset-env": "~7.4.3",
"@vue/cli-shared-utils": "~3.5.1",
"@vue/eslint-config-prettier": "~4.0.1",
"@vue/server-test-utils": "~1.0.0-beta.29",
"@vue/test-utils": "~1.0.0-beta.29",
"babel-core": "~7.0.0-bridge.0",
"babel-eslint": "~10.0.1",
"babel-jest": "~24.5.0",
"eslint": "~5.15.3",
"babel-jest": "~24.6.0",
"eslint": "~5.16.0",
"eslint-config-prettier": "~4.1.0",
"eslint-loader": "~2.1.2",
"eslint-plugin-prettier": "~3.0.1",
"eslint-plugin-vue": "~5.2.2",
"jest": "~24.5.0",
"jest": "~24.7.0",
"node-sass": "~4.11.0",
"nodemon": "~1.18.10",
"prettier": "~1.14.3",

File diff suppressed because it is too large Load Diff