Commit Graph

27 Commits

Author SHA1 Message Date
3356734e5f
add upload 2024-07-12 00:53:11 +02:00
50fc6ace41
switch to normal db connection 2024-07-12 00:49:38 +02:00
9e705741e5
move main to bottom 2024-07-12 00:32:52 +02:00
93b4258dd5
now detects existing files 2024-07-11 23:35:59 +02:00
e433c4b048
rename uploadFolder 2024-07-11 23:15:39 +02:00
a042458499
create uploadFolder if not exist 2024-07-11 23:05:35 +02:00
7b1b0f1cc5
small cleanup 2024-06-11 00:18:41 +02:00
ee9708be55
remove Atoi
isn't necessary anymore and sql injection still won't work
2024-06-11 00:10:58 +02:00
fb34c220b2
remove debug printf 2024-06-11 00:03:26 +02:00
7df7bc7611
CRUD implemented
also features better and more error messages
2024-06-10 23:53:15 +02:00
3db31b6ddc
better error handling 2024-06-03 22:15:43 +02:00
9e605e34b1
switch from Fatalf to Panicf 2024-06-03 21:19:36 +02:00
a36fccfa1f
rename func 2024-06-03 21:04:50 +02:00
f63932ddaf
add upload folder 2024-06-03 19:44:53 +02:00
7c782522f5
finish initUpload 2024-06-03 19:36:41 +02:00
bc278868da
CRUD mostly implemented 2024-06-01 13:58:16 +02:00
3df71a8302
can now create and read 2024-05-19 00:19:47 +02:00
cb437f3bb6
switch to postgres db 2024-05-18 14:36:44 +02:00
35312f3c22
tiny fix
forgot to remove db. Now added a .gitignore rule
2024-05-17 01:03:02 +02:00
553fa63c89
some progress
can now receive files and place in system (very scary)
started trying to use sqlite db, since I cannot really use Julian's DB
2024-05-17 00:59:46 +02:00
2da80d470a
some progress
I am currently following a video guide
2024-04-14 20:52:06 +02:00
09d5828812
add faker
added faker to create fake video entries
also readded IndentedJSON, because it is more readable for now
2024-03-04 16:26:34 +01:00
6171344b65
small change
modify so it matches the actual project
2024-02-23 23:57:41 +01:00
a9e9a5d023
tiny performance increase
switched from IndendetJSON to JSON
this increases performance
2024-02-23 23:25:55 +01:00
c61affb36e
prevent overposting 2024-02-23 23:23:06 +01:00
1517fdaa09
initial draft
implements CRUD operations from the official go tutorial
https://go.dev/doc/tutorial/web-service-gin
2024-02-14 00:56:11 +01:00
236876445e
Initial commit 2024-02-14 00:50:06 +01:00