Init project. Create simple backend. Add postgres in docker

This commit is contained in:
2025-03-16 11:24:14 +04:00
commit bcc5d1daf4
44 changed files with 18464 additions and 0 deletions

2
create_database.sql Normal file
View File

@@ -0,0 +1,2 @@
SELECT 'CREATE DATABASE chat'
WHERE NOT EXISTS (SELECT FROM pg_database WHERE datname = 'chat')\gexec