diff --git a/.env.sample b/.env.sample index cc40c7a..c35f475 100644 --- a/.env.sample +++ b/.env.sample @@ -1,7 +1,3 @@ -apiKey= -authDomain= -projectId= -databaseURL= -messagingSenderId= -appId= MAPBOXGL_ACCESSTOKEN= +DATABASE= +PORT= \ No newline at end of file diff --git a/.gitignore b/.gitignore index ee14ae8..8f3c83d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ npm-debug.log .DS_Store /*.env -setenv.sh \ No newline at end of file +setenv.sh +uploads/* \ No newline at end of file diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100644 index 35d6918..0000000 --- a/.husky/pre-commit +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - -npx pretty-quick --staged diff --git a/doc/sample.txt b/doc/sample.txt deleted file mode 100644 index 557db03..0000000 --- a/doc/sample.txt +++ /dev/null @@ -1 +0,0 @@ -Hello World diff --git a/doc/scrath.txt b/doc/scrath.txt deleted file mode 100644 index 221be5b..0000000 --- a/doc/scrath.txt +++ /dev/null @@ -1 +0,0 @@ -Scrath.txt diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..8b3e66a --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,16 @@ +version: "3.9" + +services: + mongodb: + image: mongo:5.0 + ports: + - 27017:27017 + # environment: + # - MONGO_INITDB_DATABASE=pjournal + # - MONGO_INITDB_ROOT_USERNAME=mongo + # - MONGO_INITDB_ROOT_PASSWORD=password + volumes: + - mongodb_data_container:/data/db + +volumes: + mongodb_data_container: \ No newline at end of file diff --git a/index.html b/index.html index 3b65be2..1857eb4 100644 --- a/index.html +++ b/index.html @@ -38,9 +38,9 @@ rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css" /> + src="https://code.jquery.com/jquery-3.6.0.min.js" + integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" + crossorigin="anonymous"> @@ -49,7 +49,7 @@