Florian Sylvain
245bf2fbf4
feat: environment specific database handling
...
Changes have been made to support environment specific database file handling. By introducing a new environment variable "DB_FILE", the application's runtime now reads the database file path from the environment. In addition, subdirectories will now be automatically created if they don't exist and more detailed error messages will be printed in case of a failure. Environment variable setup and project building instructions were also updated in the README file.
2023-08-13 04:34:30 +02:00
Florian Sylvain
64ecbc6995
clean: removed ignored err var declaration
2023-08-13 03:21:47 +02:00
Florian Sylvain
c6bd7731cc
clean: removed use of "." in imports
2023-08-13 02:48:19 +02:00
Florian Sylvain
04ebbfda87
feat: setup/register flow impl and login refactor
2023-08-13 00:24:50 +02:00
Florian Sylvain
5c61796313
clean: made pageError struct type
2023-08-12 22:38:01 +02:00
Florian Sylvain
1539e06ec8
clean: moved funcs to specific files + GetPage usecase/repo
2023-08-12 20:42:43 +02:00
Florian Sylvain
869fb3f145
fix: home.html to api dir, remove empty style tag
2023-08-12 19:51:22 +02:00
Florian Sylvain
7e8b415cab
feat: Add build scripts, refactor for binary embedding
2023-08-12 19:42:27 +02:00
Florian Sylvain
d953a66f22
feat: env variables introduction
2023-08-11 04:02:18 +02:00
Florian Sylvain
366ae190ff
feat: username recovery on login post
2023-08-11 01:19:40 +02:00
Florian Sylvain
0c139b1f72
feat: added navbar system with some refactors
2023-08-10 23:44:55 +02:00
Florian Sylvain
209555498f
clean: moved http.SetCookie into its own func
2023-08-10 23:43:41 +02:00
Florian Sylvain
1d1adfdfc7
feat: validation on articles
2023-08-09 18:13:03 +02:00
Florian Sylvain
836847e9b2
clean: removed useless usecases declaration
2023-08-09 18:07:31 +02:00
Florian Sylvain
e3246e337d
clean: merged similar usecases to getUser
2023-08-09 17:06:40 +02:00
Florian Sylvain
dad0c906f0
feat: first frontend implementation
2023-08-08 05:14:31 +02:00
Florian Sylvain
91d82b0ad7
feat: logout route
2023-08-07 12:36:54 +02:00
Florian Sylvain
f33f53ca76
feat: users & authentication implementation
2023-08-07 12:31:29 +02:00
Florian Sylvain
e258dccc1c
feat: migrated prisma -> gorm
2023-08-06 19:13:49 +02:00
Florian Sylvain
195c247235
feat: go-chi and first routes setup
2023-08-06 05:00:15 +02:00
Florian Sylvain
5b4b5a8622
clean: first clean archi sandbox implementation
2023-08-05 14:37:53 +02:00