-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 78f7cfe
Showing
188 changed files
with
6,520 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Editor configuration, see http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.ts] | ||
quote_type = single | ||
|
||
[*.md] | ||
max_line_length = off | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#App | ||
APP_ENV= | ||
|
||
#Auth | ||
JWT_EXPIRES_IN= | ||
JWT_SECRET= | ||
|
||
#Database | ||
DB_HOST= | ||
DB_PORT= | ||
POSTGRES_DB= | ||
POSTGRES_USER= | ||
POSTGRES_PASSWORD= | ||
|
||
#Mailing | ||
SENDGRID_API_KEY= | ||
|
||
#Payments | ||
ITS_PAYMENT_HOST= | ||
ITS_PAYMENT_PORT= | ||
ITS_PAYMENT_MASTER_TOKEN= | ||
ITS_PAYMENTS_NOTIFICATION_URL= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"root": true, | ||
"ignorePatterns": ["**/*"], | ||
"plugins": ["@nrwl/nx", "unused-imports"], | ||
"overrides": [ | ||
{ | ||
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"], | ||
"rules": { | ||
"@nrwl/nx/enforce-module-boundaries": [ | ||
"error", | ||
{ | ||
"enforceBuildableLibDependency": true, | ||
"allow": [], | ||
"depConstraints": [{ "sourceTag": "*", "onlyDependOnLibsWithTags": ["*"] }] | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"files": ["*.ts", "*.tsx"], | ||
"extends": ["plugin:@nrwl/nx/typescript"], | ||
"parserOptions": { "project": "./tsconfig.*?.json" }, | ||
"rules": { | ||
"unused-imports/no-unused-imports-ts": 1 | ||
} | ||
}, | ||
{ | ||
"files": ["*.js", "*.jsx"], | ||
"extends": ["plugin:@nrwl/nx/javascript"], | ||
"rules": {} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# See http://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# compiled output | ||
/dist | ||
/tmp | ||
/out-tsc | ||
|
||
# dependencies | ||
/node_modules | ||
|
||
# IDEs and editors | ||
/.idea | ||
.project | ||
.classpath | ||
.c9/ | ||
*.launch | ||
.settings/ | ||
*.sublime-workspace | ||
|
||
# IDE - VSCode | ||
.vscode/* | ||
|
||
# misc | ||
/.sass-cache | ||
/connect.lock | ||
/coverage | ||
/libpeerconnection.log | ||
npm-debug.log | ||
yarn-error.log | ||
testem.log | ||
/typings | ||
|
||
# System Files | ||
.DS_Store | ||
Thumbs.db | ||
|
||
dist/apps/api-command/.env | ||
|
||
.env | ||
*.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Add files here to ignore them from prettier formatting | ||
|
||
/dist | ||
/coverage | ||
node_modules/ | ||
.vscode/ | ||
package-lock.json | ||
package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"singleQuote": true, | ||
"endOfLine": "auto", | ||
"trailingComma": "all", | ||
"printWidth": 100 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Press Market Demo | ||
|
||
Fragments of the frontend public part of the [ITSumma Press](https://shop.itsumma.ru) publishing store, presented for code demonstration purposes only. | ||
|
||
## Tech stack | ||
|
||
- NX, Angular 11.2 (SSR, PWA) | ||
- CSS Grid | ||
- PostCSS | ||
- Tailwind 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,257 @@ | ||
{ | ||
"version": 1, | ||
"cli": { | ||
"analytics": false, | ||
"defaultCollection": "@nrwl/angular" | ||
}, | ||
"schematics": { | ||
"@nrwl/angular": { | ||
"application": { | ||
"linter": "eslint" | ||
}, | ||
"library": { | ||
"linter": "eslint" | ||
}, | ||
"storybook-configuration": { | ||
"linter": "eslint" | ||
} | ||
}, | ||
"@nrwl/angular:application": { | ||
"style": "css", | ||
"linter": "eslint", | ||
"unitTestRunner": "jest", | ||
"e2eTestRunner": "cypress" | ||
}, | ||
"@nrwl/angular:library": { | ||
"style": "css", | ||
"linter": "eslint", | ||
"unitTestRunner": "jest" | ||
}, | ||
"@nrwl/angular:component": { | ||
"style": "css" | ||
} | ||
}, | ||
"defaultProject": "its-market", | ||
"projects": { | ||
"its-market": { | ||
"projectType": "application", | ||
"root": "apps/its-market", | ||
"sourceRoot": "apps/its-market/src", | ||
"prefix": "app", | ||
"architect": { | ||
"build": { | ||
"builder": "@angular-devkit/build-angular:browser", | ||
"options": { | ||
"outputPath": "dist/apps/its-market/browser", | ||
"index": "apps/its-market/src/index.html", | ||
"main": "apps/its-market/src/main.ts", | ||
"polyfills": "apps/its-market/src/polyfills.ts", | ||
"tsConfig": "apps/its-market/tsconfig.app.json", | ||
"aot": true, | ||
"assets": [ | ||
{ | ||
"glob": "**/*", | ||
"input": "upload/", | ||
"output": "/upload/" | ||
}, | ||
{ | ||
"glob": "**/*", | ||
"input": "libs/ui/src/assets", | ||
"output": "assets" | ||
}, | ||
"apps/its-market/src/favicon.ico", | ||
"apps/its-market/src/assets", | ||
"apps/its-market/src/manifest.webmanifest" | ||
], | ||
"styles": ["libs/ui/src/lib/styles.css", "apps/its-market/src/styles.css"], | ||
"scripts": [] | ||
}, | ||
"configurations": { | ||
"production": { | ||
"fileReplacements": [ | ||
{ | ||
"replace": "apps/its-market/src/environments/environment.ts", | ||
"with": "apps/its-market/src/environments/environment.prod.ts" | ||
} | ||
], | ||
"optimization": true, | ||
"outputHashing": "all", | ||
"sourceMap": false, | ||
"namedChunks": false, | ||
"extractLicenses": true, | ||
"vendorChunk": false, | ||
"buildOptimizer": true, | ||
"budgets": [ | ||
{ | ||
"type": "initial", | ||
"maximumWarning": "4mb", | ||
"maximumError": "5mb" | ||
}, | ||
{ | ||
"type": "anyComponentStyle", | ||
"maximumWarning": "4mb", | ||
"maximumError": "5mb" | ||
} | ||
], | ||
"serviceWorker": true, | ||
"ngswConfigPath": "apps/its-market/ngsw-config.json" | ||
}, | ||
"staging": { | ||
"fileReplacements": [ | ||
{ | ||
"replace": "apps/its-market/src/environments/environment.ts", | ||
"with": "apps/its-market/src/environments/environment.staging.ts" | ||
} | ||
], | ||
"optimization": true, | ||
"outputHashing": "all", | ||
"sourceMap": false, | ||
"namedChunks": false, | ||
"extractLicenses": true, | ||
"vendorChunk": false, | ||
"buildOptimizer": true, | ||
"budgets": [ | ||
{ | ||
"type": "initial", | ||
"maximumWarning": "4mb", | ||
"maximumError": "5mb" | ||
}, | ||
{ | ||
"type": "anyComponentStyle", | ||
"maximumWarning": "4mb", | ||
"maximumError": "5mb" | ||
} | ||
], | ||
"serviceWorker": true, | ||
"ngswConfigPath": "apps/its-market/ngsw-config.json" | ||
} | ||
} | ||
}, | ||
"serve": { | ||
"builder": "@angular-devkit/build-angular:dev-server", | ||
"options": { | ||
"browserTarget": "its-market:build", | ||
"proxyConfig": "apps/its-market/proxy.conf.json" | ||
}, | ||
"configurations": { | ||
"production": { | ||
"browserTarget": "its-market:build:production" | ||
}, | ||
"staging": { | ||
"browserTarget": "its-market:build:staging" | ||
} | ||
} | ||
}, | ||
"extract-i18n": { | ||
"builder": "@angular-devkit/build-angular:extract-i18n", | ||
"options": { | ||
"browserTarget": "its-market:build" | ||
} | ||
}, | ||
"lint": { | ||
"builder": "@nrwl/linter:eslint", | ||
"options": { | ||
"lintFilePatterns": ["apps/its-market/src/**/*.ts", "apps/its-market/src/**/*.html"] | ||
} | ||
}, | ||
"test": { | ||
"builder": "@nrwl/jest:jest", | ||
"outputs": ["coverage/apps/its-market"], | ||
"options": { | ||
"jestConfig": "apps/its-market/jest.config.js", | ||
"passWithNoTests": true | ||
} | ||
}, | ||
"server": { | ||
"builder": "@angular-devkit/build-angular:server", | ||
"options": { | ||
"outputPath": "dist/apps/its-market/server", | ||
"main": "apps/its-market/server.ts", | ||
"tsConfig": "apps/its-market/tsconfig.server.json" | ||
}, | ||
"configurations": { | ||
"production": { | ||
"outputHashing": "media", | ||
"fileReplacements": [ | ||
{ | ||
"replace": "apps/its-market/src/environments/environment.ts", | ||
"with": "apps/its-market/src/environments/environment.prod.ts" | ||
} | ||
], | ||
"sourceMap": false, | ||
"optimization": true | ||
} | ||
} | ||
}, | ||
"serve-ssr": { | ||
"builder": "@nguniversal/builders:ssr-dev-server", | ||
"options": { | ||
"browserTarget": "its-market:build", | ||
"serverTarget": "its-market:server" | ||
}, | ||
"configurations": { | ||
"production": { | ||
"browserTarget": "its-market:build:production", | ||
"serverTarget": "its-market:server:production" | ||
} | ||
} | ||
}, | ||
"prerender": { | ||
"builder": "@nguniversal/builders:prerender", | ||
"options": { | ||
"browserTarget": "its-market:build:production", | ||
"serverTarget": "its-market:server:production", | ||
"routes": ["/"] | ||
}, | ||
"configurations": { | ||
"production": {} | ||
} | ||
} | ||
} | ||
}, | ||
"currency": { | ||
"projectType": "library", | ||
"root": "libs/currency", | ||
"sourceRoot": "libs/currency/src", | ||
"prefix": "its-market", | ||
"architect": { | ||
"lint": { | ||
"builder": "@nrwl/linter:eslint", | ||
"options": { | ||
"lintFilePatterns": ["libs/currency/src/**/*.ts", "libs/currency/src/**/*.html"] | ||
} | ||
}, | ||
"test": { | ||
"builder": "@nrwl/jest:jest", | ||
"outputs": ["coverage/libs/currency"], | ||
"options": { | ||
"jestConfig": "libs/currency/jest.config.js", | ||
"passWithNoTests": true | ||
} | ||
} | ||
} | ||
}, | ||
"ui": { | ||
"projectType": "library", | ||
"root": "libs/ui", | ||
"sourceRoot": "libs/ui/src", | ||
"prefix": "its-market", | ||
"architect": { | ||
"lint": { | ||
"builder": "@nrwl/linter:eslint", | ||
"options": { | ||
"lintFilePatterns": ["libs/ui/src/**/*.ts", "libs/ui/src/**/*.html"] | ||
} | ||
}, | ||
"test": { | ||
"builder": "@nrwl/jest:jest", | ||
"outputs": ["coverage/libs/ui"], | ||
"options": { | ||
"jestConfig": "libs/ui/jest.config.js", | ||
"passWithNoTests": true | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Empty file.
Oops, something went wrong.