소스 검색

local changes necessary to get frontend and backend running

tags/0.0.1^2
juancarbajal98 3 년 전
부모
커밋
410b447bdd
4개의 변경된 파일22255개의 추가작업 그리고 7106개의 파일을 삭제
  1. 2
    1
      backend/knexfile.js
  2. 14507
    6241
      backend/package-lock.json
  3. 4
    2
      backend/server/manifest.js
  4. 7742
    862
      frontend/package-lock.json

+ 2
- 1
backend/knexfile.js 파일 보기

1
-require('dotenv').config()
1
+require('dotenv').config({path: './server/.env'})
2
+// require('dotenv').config()
2
 
3
 
3
 const local = {
4
 const local = {
4
     host: process.env.DB_HOST,
5
     host: process.env.DB_HOST,

+ 14507
- 6241
backend/package-lock.json
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


+ 4
- 2
backend/server/manifest.js 파일 보기

1
-const Dotenv = require('dotenv')
1
+const Dotenv = require('dotenv').config({path: './server/.env'})
2
+// const Dotenv = require('dotenv')
2
 const Confidence = require('@hapipal/confidence')
3
 const Confidence = require('@hapipal/confidence')
3
 const Inert = require('@hapi/inert')
4
 const Inert = require('@hapi/inert')
4
 const Vision = require('@hapi/vision')
5
 const Vision = require('@hapi/vision')
6
 const HapiSwagger = require('hapi-swagger')
7
 const HapiSwagger = require('hapi-swagger')
7
 
8
 
8
 /** Pull .env into process.env */
9
 /** Pull .env into process.env */
9
-Dotenv.config({ path: `${__dirname}/../.env` })
10
+// Dotenv.config({ path: `${__dirname}/../.env` })
11
+// Dotenv.config({ path: `${__dirname}/../.env` })
10
 
12
 
11
 /** Glue manifest as a confidence store */
13
 /** Glue manifest as a confidence store */
12
 module.exports = new Confidence.Store({
14
 module.exports = new Confidence.Store({

+ 7742
- 862
frontend/package-lock.json
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


Loading…
취소
저장