changed the folder structure. separated the routes and added the authmiddleware for authentication

This commit is contained in:
2024-09-18 22:07:23 +08:00
parent 023505fa0b
commit 0c9e1a4216
7 changed files with 145 additions and 118 deletions
+5 -1
View File
@@ -1,2 +1,6 @@
JWT_SECRET_KEY=your_secret_key_here
TOKEN_HEADER_KEY=auth-token
TOKEN_HEADER_KEY=auth-token
DB_HOST=localhost
DB_USER=root
DB_PASSWORD=12345678
DB_NAME=popcen