Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
DATABASE_URL="file:./dev.db"

PORT=5000
VITE_API_URL=://localhost:5000
CLIENT_URL=http://localhost:5173
DB_URL=postgres://postgres:1706@localhost:5433/postgres?schema=public
SMTP_USER=olena17ju06@gmail.com
SMTP_PASS=loxp xegi jvsx yepu
JWT_ACCESS_SECRET=0e7e519e-7852-40fc-58af-7b283bd7f49c
JWT_REFRESH_SECRET=eaa75982-764b-4e4d-8ce4-1acb6484edb5
10 changes: 0 additions & 10 deletions .eslintrc.js

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/test.yml-template
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test

on:
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
Binary file added dev.db
Binary file not shown.
Binary file added dist/assets/fa-brands-400-BP5tdqmh.woff2
Binary file not shown.
Binary file added dist/assets/fa-regular-400-nyy7hhHF.woff2
Binary file not shown.
Binary file added dist/assets/fa-solid-900-DRAAbZTg.woff2
Binary file not shown.
Binary file added dist/assets/favicon-BD6RpGZu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dist/assets/index-COv2k4i_.css

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions dist/assets/index-j8yqReiG.js

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/png" href="/assets/favicon-BD6RpGZu.png">
<title>Node chat</title>
<script type="module" crossorigin src="/assets/index-j8yqReiG.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-COv2k4i_.css">
</head>
<body>
<div id="root"></div>
</body>
</html>
13 changes: 13 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/png" href="/src/client/images/favicon.png">
<title>Node chat</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/client/index.tsx"></script>
</body>
</html>
6 changes: 6 additions & 0 deletions nodemon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"watch": ["src/server"],
"ext": "js",
"ignore": ["src/client"],
"exec": "node ./src/server/app.js"
}
Loading
Loading