Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/set up clients module graphql #8

Merged
merged 21 commits into from
Jul 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
c0f9268
feat(Clients): create index clients method
griffan113 Mar 25, 2022
cd6f47c
feat: working on create client method
griffan113 Mar 25, 2022
8bae1a5
feat(Clients): create show client query & update dependencies & creat…
griffan113 Apr 23, 2022
a88658a
docs: update README
griffan113 Apr 23, 2022
30ca56f
ci: organize ci's
griffan113 Apr 23, 2022
85b2f16
Update README.md
griffan113 Apr 23, 2022
ce9e77a
chore: update prisma versions
griffan113 Apr 27, 2022
0214afc
refactor: create admin security and start to create clients CRUD
griffan113 May 8, 2022
da1c144
refactor(Schema): refact data types - pending logic refactor
griffan113 Jun 24, 2022
46190f4
refactor(Schema): alter all tables due to logic changes
griffan113 Jun 29, 2022
4e19641
refactor: apply schema changes and setup GCP deploy
griffan113 Jun 30, 2022
818bb21
refactor(Users): fit data source to database schema - alter types
griffan113 Jun 30, 2022
6b9639f
refactor(Clients): refact clients module - fit to new logic and schema
griffan113 Jun 30, 2022
a935ab4
feat: implement clients pagination & set same logic as Create to Upda…
griffan113 Jul 3, 2022
6755a2e
feat(Clients): add validation to CNPJ
griffan113 Jul 3, 2022
80f1753
docs: update readme
griffan113 Jul 3, 2022
015f444
docs: update API docs
griffan113 Jul 3, 2022
8643b34
chore: update tests logic
griffan113 Jul 4, 2022
e0cd0e7
chore: update scripts
griffan113 Jul 4, 2022
c3aad90
ci: remove older node js versions
griffan113 Jul 4, 2022
17c0d7e
Merge pull request #7 from griffan113/refactor/refact-data-model
griffan113 Jul 4, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
PORT=3333

DATABASE_URL="postgresql://postgres:docker@localhost:5432/maza?schema=public"
JWT_SECRET=123
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ module.exports = {
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': 'error',
},
};
3 changes: 3 additions & 0 deletions .gcloudignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
.env.example
credentials.example.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
name: Jest CI
name: Jest Development

on:
push:
branches:
- main
- development
- feat/*
- refactor/*
- test/*
pull_request:
branches:
- main
- development

jobs:
Expand All @@ -20,7 +18,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [16.x]

steps:
- uses: actions/checkout@v2
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/jest_production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Jest Production

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
name: Build and test
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: 'Install packages'
run: yarn install
- name: Run tests
run: yarn test -- --coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ lerna-debug.log*
!.vscode/extensions.json

# App
credentials.yaml
.env
ormconfig.json
1 change: 0 additions & 1 deletion Insomnia_2021-11-23.json

This file was deleted.

1 change: 0 additions & 1 deletion Insomnia_2022-01-24.json

This file was deleted.

Loading