Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
reservation-service
Commits
9be920ba
Commit
9be920ba
authored
Nov 05, 2020
by
Yoon, Daeki
😅
Browse files
config dotenv
parent
769c207b
Changes
3
Hide whitespace changes
Inline
Side-by-side
config/config.js
View file @
9be920ba
require
(
'
dotenv
'
).
config
()
const
config
=
{
env
:
process
.
env
.
NODE_ENV
||
'
development
'
,
port
:
process
.
env
.
PORT
||
3030
,
...
...
package.json
View file @
9be920ba
...
...
@@ -16,6 +16,7 @@
"dependencies"
:
{
"
body-parser
"
:
"
^1.19.0
"
,
"
cors
"
:
"
^2.8.5
"
,
"
dotenv
"
:
"
^8.2.0
"
,
"
express
"
:
"
^4.17.1
"
,
"
helmet
"
:
"
^4.2.0
"
,
"
mongoose
"
:
"
^5.10.12
"
...
...
yarn.lock
View file @
9be920ba
...
...
@@ -118,6 +118,11 @@ destroy@~1.0.4:
resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80"
integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=
dotenv@^8.2.0:
version "8.2.0"
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-8.2.0.tgz#97e619259ada750eea3e4ea3e26bceea5424b16a"
integrity sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw==
ee-first@1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment