Skip to content

Commit

Permalink
Initialize backend directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
sevelinCa committed May 16, 2024
1 parent 6b9ef36 commit 5d30660
Show file tree
Hide file tree
Showing 22 changed files with 10,436 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
PORT: 5000
MODE: development
DATABASE_DEVELOPMENT_URL: DB_URL
DATABASE_TEST_URL: DB_URL
DATABASE_PRODUCTION_URL: DB_URL
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ bin-release/
*.ipa
*.apk

# Envirnoment variables
.env
# Project files, i.e. `.project`, `.actionScriptProperties` and `.flexProperties`
# should NOT be excluded as they contain compiler settings and other important
# information for Eclipse / Flash Builder.
node_modules
8 changes: 8 additions & 0 deletions .sequelizerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const path = require('path');

module.exports = {
"config": path.resolve(__dirname, 'src', 'database', 'config', 'config.js'),
"models-path": path.resolve(__dirname, 'src', 'database', 'models'),
"migrations-path": path.resolve(__dirname, 'src', 'database', 'migrations'),
"seeders-path": path.resolve(__dirname, 'src', 'database', 'seeders')
};
5 changes: 5 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node'
};

Loading

0 comments on commit 5d30660

Please sign in to comment.