refactor: api routes

This commit is contained in:
Daniel Soares
2021-12-24 11:48:37 -03:00
parent 19aa8d2311
commit 165c26af3f
42 changed files with 622 additions and 506 deletions

View File

@@ -87,6 +87,7 @@ async function main() {
await prisma.user.create({
data: {
id: 1,
username: USERNAME,
password: hashSync(PASSWORD, 10),
lang: 'en',