Skip to content

Commit 4c6a23a

Browse files
init master
0 parents  commit 4c6a23a

File tree

88 files changed

+9500
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+9500
-0
lines changed

Diff for: .DS_Store

6 KB
Binary file not shown.

Diff for: .env.example

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# NODE_ENV="production"
2+
NODE_ENV="development"
3+
4+
# APP URL
5+
APP_URL=http://localhost:3001
6+
7+
# SERVICE GMAIL WITH 2ND SECURITY - MAILER
8+
NODE_MAIL="[email protected]"
9+
NODE_MAIL_PASS="password"
10+
11+
# STAR_SENDER (WA SEND)
12+
APIKEY=""
13+
14+
# DEVELOPMENT
15+
DEV_DB_USERNAME="root"
16+
DEV_DB_PASSWORD=""
17+
DEV_DB_NAME="alearn_nodejs_2020"
18+
DEV_DB_HOSTNAME="127.0.0.1"
19+
DEV_DB_PORT="3306"
20+
21+
CI_DB_USERNAME=""
22+
CI_DB_PASSWORD=""
23+
CI_DB_NAME=""
24+
25+
# PRODUCTION
26+
PROD_DB_USERNAME="root"
27+
PROD_DB_PASSWORD=""
28+
PROD_DB_NAME="alearn_nodejs_2020"
29+
PROD_DB_HOSTNAME="127.0.0.1"
30+
PROD_DB_PORT="3306"
31+
32+
PROD_HTTP2_CERT=
33+
PROD_HTTP2_KEY=

Diff for: .env.local

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// TODO

Diff for: .env.production

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// TODO

Diff for: .gitignore

+117
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
generator/bash/source
2+
resources/static/assets/excel
3+
resources/static/assets/csv
4+
resources/static/assets/uploads/*.png
5+
resources/static/assets/uploads/*.jpg
6+
resources/static/assets/tmp/*.png
7+
resources/static/assets/tmp/*.jpg
8+
*.sql
9+
10+
# Logs
11+
logs
12+
*.log
13+
npm-debug.log*
14+
yarn-debug.log*
15+
yarn-error.log*
16+
lerna-debug.log*
17+
combine.log*
18+
error.log*
19+
20+
# Diagnostic reports (https://nodejs.org/api/report.html)
21+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
22+
23+
# Runtime data
24+
pids
25+
*.pid
26+
*.seed
27+
*.pid.lock
28+
29+
# Directory for instrumented libs generated by jscoverage/JSCover
30+
lib-cov
31+
32+
# Coverage directory used by tools like istanbul
33+
coverage
34+
*.lcov
35+
36+
# nyc test coverage
37+
.nyc_output
38+
39+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
40+
.grunt
41+
42+
# Bower dependency directory (https://bower.io/)
43+
bower_components
44+
45+
# node-waf configuration
46+
.lock-wscript
47+
48+
# Compiled binary addons (https://nodejs.org/api/addons.html)
49+
build/Release
50+
51+
# Dependency directories
52+
node_modules/
53+
jspm_packages/
54+
55+
# TypeScript v1 declaration files
56+
typings/
57+
58+
# TypeScript cache
59+
*.tsbuildinfo
60+
61+
# Optional npm cache directory
62+
.npm
63+
64+
# Optional eslint cache
65+
.eslintcache
66+
67+
# Microbundle cache
68+
.rpt2_cache/
69+
.rts2_cache_cjs/
70+
.rts2_cache_es/
71+
.rts2_cache_umd/
72+
73+
# Optional REPL history
74+
.node_repl_history
75+
76+
# Output of 'npm pack'
77+
*.tgz
78+
79+
# Yarn Integrity file
80+
.yarn-integrity
81+
82+
# dotenv environment variables file
83+
.env
84+
.env.test
85+
86+
# parcel-bundler cache (https://parceljs.org/)
87+
.cache
88+
89+
# Next.js build output
90+
.next
91+
92+
# Nuxt.js build / generate output
93+
.nuxt
94+
dist
95+
96+
# Gatsby files
97+
.cache/
98+
# Comment in the public line in if your project uses Gatsby and *not* Next.js
99+
# https://nextjs.org/blog/next-9-1#public-directory-support
100+
# public
101+
102+
# vuepress build output
103+
.vuepress/dist
104+
105+
# Serverless directories
106+
.serverless/
107+
108+
# FuseBox cache
109+
.fusebox/
110+
111+
# DynamoDB Local files
112+
.dynamodb/
113+
114+
# TernJS port file
115+
.tern-port
116+
117+
resource/

Diff for: .gitlab-ci.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
image: node:latest
2+
3+
stages:
4+
- build
5+
- test
6+
- dev
7+
- production
8+
9+
cache:
10+
paths:
11+
- node_modules/
12+
13+
install_dependencies:
14+
stage: build
15+
script:
16+
- npm install
17+
artifacts:
18+
paths:
19+
- node_modules/
20+
21+
testing_testing:
22+
stage: test
23+
script: npm test

Diff for: .sequelizerc

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
'use strict';
2+
3+
require('dotenv').config();
4+
const path = require('path');
5+
6+
module.exports = {
7+
'config': path.resolve('src/config', 'config.js'),
8+
'models-path': path.resolve('src/db', 'models'),
9+
'seeders-path': path.resolve('src/db', 'seeders'),
10+
'migrations-path': path.resolve('src/db', 'migrations'),
11+
};
12+
13+
// override configuration sequelize structure folder
14+
// 1. "scripts": { } on package.json
15+
// 2. ALIASES .zsrhc | .bshrc on readme.MD

0 commit comments

Comments
 (0)