This commit is contained in:
Данил 2024-02-13 23:02:10 +03:00
parent 2ea972e77d
commit 80d1e1c051
4 changed files with 25 additions and 37 deletions

38
.gitignore vendored
View file

@ -1,38 +1,2 @@
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
out/
!**/src/main/**/out/
!**/src/test/**/out/
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
### VS Code ###
.vscode/
src/main/resources/application.yaml
config.yaml

5
config_sample.yaml Normal file
View file

@ -0,0 +1,5 @@
db_user: DATABASE_USERNAME
db_password: DATABASE_PASSWORD
db_host: DATABASE_HOST
db_name: DATABASE_NAME
db_port: 5432

11
package.json Normal file
View file

@ -0,0 +1,11 @@
{
"name": "currency-chart",
"version": "1.0.0",
"description": "",
"main": "main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Redume",
"license": "ISC"
}

8
postgresql.js Normal file
View file

@ -0,0 +1,8 @@
const pg = require("pg");
const pool = new pg.Pool({
user: "",
password: "",
host: "",
port: 5432,
database: ""
})