Skip to content

Commit

Permalink
feat: initial app commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Bangbay Siboliban committed Jan 26, 2021
0 parents commit 8edea79
Show file tree
Hide file tree
Showing 97 changed files with 16,704 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"presets": ["next/babel"],
"plugins": [
[
"styled-components",
{
"ssr": true,
"displayName": true,
"preprocess": false
}
]
]
}
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
NEXT_PUBLIC_DUTCHIE_PLUS_SERVER=https://plus.dutchie.com/plus/2020-10/graphql
NEXT_PUBLIC_DUTCHIE_PLUS_KEY=<your-api-key-here>
PORT=9999
ROOT_CA_PATH=
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.d.ts
__generated__
next.config.js
node_modules
16 changes: 16 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint",
"plugin:react-hooks/recommended"
],
"rules": {
"curly": "error",
"@typescript-eslint/consistent-type-definitions": ["error", "interface"]
}
}
43 changes: 43 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local

# vercel
.vercel

# graphql-let
__generated__
*.graphql.d.ts
*.graphqls.d.ts

# ssl cert
localhost.pem
localhost-key.pem
11 changes: 11 additions & 0 deletions .graphql-let.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
schema:
- ${NEXT_PUBLIC_DUTCHIE_PLUS_SERVER}:
headers:
Authorization: Bearer ${NEXT_PUBLIC_DUTCHIE_PLUS_KEY}
documents: "**/*.graphql"
plugins:
- typescript
- typescript-operations
- typescript-react-apollo
cacheDir: __generated__
respectGitIgnore: true
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v12.16.3
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.d.ts
.next
__generated__
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 12.16.3
13 changes: 13 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Contributor Code of Conduct

As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.

We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.

Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.

This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at https://www.contributor-covenant.org/version/1/0/0/code-of-conduct.html
17 changes: 17 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Contributing

You can contribute to this project by:

- [Reporting a bug](https://github.com/GetDutchie/dutchie-plus-nextjs-example/issues)
- Discussing the current state of the code
- Submitting a bug fix
- Proposing new features
- Becoming a maintainer

## Guidelines

You must agree to our [Code of Conduct](CODE_OF_CONDUCT.md) and review our [Readme](README.md).

## License

By contributing, you agree that your contributions fall under this project's [license](LICENSE.md).
Loading

0 comments on commit 8edea79

Please sign in to comment.