add tests and instant update

This commit is contained in:
2023-04-09 17:25:26 +02:00
parent a297c86830
commit 85d293884b
10 changed files with 151 additions and 87 deletions
+3 -3
View File
@@ -3,8 +3,8 @@ dotenv.config()
import express from 'express'
import cors from 'cors'
import client from './client/client'
import { dbReady } from './db/db'
import { cacheReady } from './cache/redis'
import db, { dbReady } from './db/db'
import cache, { cacheReady } from './cache/redis'
const app = express()
const port = 3000
@@ -28,4 +28,4 @@ export default
})
})
})
})
})