Skip to content

Commit ea30ebc

Browse files
author
hirsch88
committed
Merge branch 'release/3.0.1'
2 parents 2d2e6fd + 3e49cc7 commit ea30ebc

File tree

6 files changed

+89
-42
lines changed

6 files changed

+89
-42
lines changed

.env.example

+21-21
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,57 @@
11
#
22
# APPLICATION
33
#
4-
APP_NAME="express-typescript-boilerplate"
5-
APP_SCHEMA="http"
6-
APP_HOST="localhost"
7-
APP_PORT="3000"
8-
APP_ROUTE_PREFIX="/api"
4+
APP_NAME=express-typescript-boilerplate
5+
APP_SCHEMA=http
6+
APP_HOST=localhost
7+
APP_PORT=3000
8+
APP_ROUTE_PREFIX=/api
99
APP_BANNER=true
1010

1111
#
1212
# LOGGING
1313
#
14-
LOG_LEVEL="debug"
14+
LOG_LEVEL=debug
1515
LOG_JSON=false
16-
LOG_OUTPUT="dev"
16+
LOG_OUTPUT=dev
1717

1818
#
1919
# AUTHORIZATION
2020
#
21-
AUTH_ROUTE="http://localhost:3333/tokeninfo"
21+
AUTH_ROUTE=http://localhost:3333/tokeninfo
2222

2323
#
2424
# DATABASE
2525
#
26-
DB_TYPE="mysql"
27-
DB_HOST="localhost"
26+
DB_TYPE=mysql
27+
DB_HOST=localhost
2828
DB_PORT=3306
29-
DB_USERNAME="root"
30-
DB_PASSWORD=""
31-
DB_DATABASE="my_database"
29+
DB_USERNAME=root
30+
DB_PASSWORD=
31+
DB_DATABASE=my_database
3232
DB_SYNCHRONIZE=false
3333
DB_LOGGING=false
3434

3535
#
3636
# GraphQL
3737
#
3838
GRAPHQL_ENABLED=true
39-
GRAPHQL_ROUTE="/graphql"
39+
GRAPHQL_ROUTE=/graphql
4040
GRAPHQL_EDITOR=true
4141

4242
#
4343
# Swagger
4444
#
4545
SWAGGER_ENABLED=true
46-
SWAGGER_ROUTE="/swagger"
47-
SWAGGER_FILE="api/swagger.json"
48-
SWAGGER_USERNAME="admin"
49-
SWAGGER_PASSWORD="1234"
46+
SWAGGER_ROUTE=/swagger
47+
SWAGGER_FILE=api/swagger.json
48+
SWAGGER_USERNAME=admin
49+
SWAGGER_PASSWORD=1234
5050

5151
#
5252
# Status Monitor
5353
#
5454
MONITOR_ENABLED=true
55-
MONITOR_ROUTE="/monitor"
56-
MONITOR_USERNAME="admin"
57-
MONITOR_PASSWORD="1234"
55+
MONITOR_ROUTE=/monitor
56+
MONITOR_USERNAME=admin
57+
MONITOR_PASSWORD=1234

.env.test

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,51 @@
11
#
22
# APPLICATION
33
#
4-
APP_NAME="express-typescript-boilerplate"
5-
APP_SCHEMA="http"
6-
APP_HOST="localhost"
7-
APP_PORT="3000"
8-
APP_ROUTE_PREFIX="/api"
4+
APP_NAME=express-typescript-boilerplate
5+
APP_SCHEMA=http
6+
APP_HOST=localhost
7+
APP_PORT=3000
8+
APP_ROUTE_PREFIX=/api
99
APP_BANNER=false
1010

1111
#
1212
# LOGGING
1313
#
14-
LOG_LEVEL="none"
14+
LOG_LEVEL=none
1515
LOG_JSON=false
16-
LOG_OUTPUT="dev"
16+
LOG_OUTPUT=dev
1717

1818
#
1919
# AUTHORIZATION
2020
#
21-
AUTH_ROUTE="http://localhost:3333/tokeninfo"
21+
AUTH_ROUTE=http://localhost:3333/tokeninfo
2222

2323
#
2424
# DATABASE
2525
#
26-
DB_TYPE="sqlite"
27-
DB_DATABASE="./mydb.sql"
26+
DB_TYPE=sqlite
27+
DB_DATABASE=./mydb.sql
2828
DB_LOGGING=false
2929

3030
#
3131
# GraphQL
3232
#
3333
GRAPHQL_ENABLED=true
34-
GRAPHQL_ROUTE="/graphql"
34+
GRAPHQL_ROUTE=/graphql
3535

3636
#
3737
# Swagger
3838
#
3939
SWAGGER_ENABLED=true
40-
SWAGGER_ROUTE="/swagger"
41-
SWAGGER_FILE="api/swagger.json"
42-
SWAGGER_USERNAME="admin"
43-
SWAGGER_PASSWORD="1234"
40+
SWAGGER_ROUTE=/swagger
41+
SWAGGER_FILE=api/swagger.json
42+
SWAGGER_USERNAME=admin
43+
SWAGGER_PASSWORD=1234
4444

4545
#
4646
# Status Monitor
4747
#
4848
MONITOR_ENABLED=true
49-
MONITOR_ROUTE="/monitor"
50-
MONITOR_USERNAME="admin"
51-
MONITOR_PASSWORD="1234"
49+
MONITOR_ROUTE=/monitor
50+
MONITOR_USERNAME=admin
51+
MONITOR_PASSWORD=1234

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ tsconfig.build.json
3131
# Generated source-code #
3232
src/**/*.js
3333
src/**/*.js.map
34+
!src/public/**/*
3435
test/**/*.js
3536
test/**/*.js.map
3637
coverage/

CODE_OF_CONDUCT.md

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
* Using welcoming and inclusive language
12+
* Being respectful of differing viewpoints and experiences
13+
* Gracefully accepting constructive criticism
14+
* Focusing on what is best for the community
15+
* Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
* Trolling, insulting/derogatory comments, and personal or political attacks
21+
* Public or private harassment
22+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
* Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28+
29+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Scope
32+
33+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected] & [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38+
39+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40+
41+
## Attribution
42+
43+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44+
45+
[homepage]: http://contributor-covenant.org
46+
[version]: http://contributor-covenant.org/version/1/4/

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ All script are defined in the `package-scripts.js` file, but the most important
141141
### Tests
142142

143143
- Run the unit tests using `npm start test` (There is also a vscode task for this called `test`).
144-
- Run the integration tests using `npm start test:integration`.
145-
- Run the e2e tests using `npm start test:e2e`.
144+
- Run the integration tests using `npm start test.integration`.
145+
- Run the e2e tests using `npm start test.e2e`.
146146

147147
### Running in dev mode
148148

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "express-typescript-boilerplate",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "A delightful way to building a Node.js RESTful API Services with beautiful code written in TypeScript",
55
"main": "src/app.ts",
66
"scripts": {

0 commit comments

Comments
 (0)