Skip to content

Commit

Permalink
Merge pull request #1 from rcanessa89/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
rcanessa89 authored Sep 4, 2018
2 parents ee16387 + 7b2e5f5 commit a2f514f
Show file tree
Hide file tree
Showing 49 changed files with 1,726 additions and 205 deletions.
17 changes: 17 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch NestJS",
"runtimeExecutable": "npm",
"runtimeArgs": ["run-script", "start:dev"],
"port": 5000,
"console": "integratedTerminal"
}
]
}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"git.ignoreLimitWarning": true
"git.ignoreLimitWarning": true,
"editor.tabSize": 2,
}
11 changes: 11 additions & 0 deletions config/default.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export default {
HOST: 'http://localhost',
PORT: 8080,
DB_HOST: 'localhost',
DB_PORT: 3306,
DB_USERNAME: 'root',
DB_PASSWORD: 'EDhunter89',
DB_NAME: 'test',
JWT_SECRET_KEY: 'secretKey',
JWT_EXPIRATION: 3600,
};
12 changes: 4 additions & 8 deletions nodemon.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{
"watch": [
"src"
],
"ext": "ts",
"ignore": [
"src/**/*.spec.ts"
],
"exec": "ts-node -r tsconfig-paths/register src/main.ts"
"watch": ["src"],
"ext": "ts",
"ignore": ["src/**/*.spec.ts"],
"exec": "node -r tsconfig-paths/register --inspect=5000 --require ts-node/register src/main.ts"
}
Loading

0 comments on commit a2f514f

Please sign in to comment.