|
|
efff6edf0e
|
Adds dbconfig.yml
to run migrations from outside of application
|
2024-05-31 19:55:22 +02:00 |
|
|
|
89d4cac2c8
|
Changes http requests for bruno
|
2024-05-31 19:55:00 +02:00 |
|
|
|
d7a61290fa
|
Adapts comment
|
2024-05-14 22:52:48 +02:00 |
|
|
|
99bd43128e
|
Uses correct userID data type
|
2024-05-14 22:52:44 +02:00 |
|
|
|
5a75fd94bb
|
Adds migrations for new models
|
2024-05-14 22:52:34 +02:00 |
|
|
|
96fc234068
|
Adapts models
|
2024-05-14 22:35:33 +02:00 |
|
|
|
62f3f6ba8a
|
Removes json tags from User struct as they are unused
|
2024-05-14 22:29:05 +02:00 |
|
|
|
e6cd27855f
|
Adds article and feed models
|
2024-05-14 22:28:34 +02:00 |
|
|
|
3d24617ede
|
Removes validate annotation from User ID
|
2024-04-30 20:23:11 +02:00 |
|
|
|
1563210586
|
Handles unique constraint error on user creation
|
2024-04-30 20:21:29 +02:00 |
|
|
|
971ce6e2a4
|
Returns validation error as single string
|
2024-04-30 20:20:51 +02:00 |
|
|
|
9b06e6a5cc
|
Adds unique constraint to email in USER table
|
2024-04-30 20:05:46 +02:00 |
|
|
|
cfe335ea39
|
Implements API validator and uses it in user endpoint
|
2024-04-30 20:03:37 +02:00 |
|
|
|
932edb8da7
|
Uses uuid to avoid easy inferral of user ids
|
2024-04-28 20:21:56 +02:00 |
|
|
|
800c839b53
|
Adds User struct
|
2024-04-28 20:05:53 +02:00 |
|
|
|
98edc52114
|
Adapts table name for initial migration
|
2024-04-28 20:05:46 +02:00 |
|
|
|
9fda114cd3
|
Adds handler structs and user handler
|
2024-04-28 20:05:36 +02:00 |
|
|
|
832b91a9b5
|
Adds test request to create user
|
2024-04-28 20:05:11 +02:00 |
|
|
|
4a4268626e
|
Removes sqlc file
|
2024-04-28 19:15:15 +02:00 |
|
|
|
d82a1c9215
|
Sets up internal packages for database and api
|
2024-04-28 19:14:51 +02:00 |
|
|
|
b059fa25cb
|
Removes external api package
|
2024-04-28 19:14:30 +02:00 |
|
|
|
f45ecfebcc
|
Revert "Sets up sqlc"
This reverts commit bdaa5aa59b.
|
2024-04-28 19:00:32 +02:00 |
|
|
|
4748435779
|
Revert "Removes internal api package"
This reverts commit c65e239b68.
|
2024-04-28 19:00:19 +02:00 |
|
|
|
c19a675e36
|
Revert "Removes internal directory"
This reverts commit 5005186cd3.
|
2024-04-28 19:00:14 +02:00 |
|
|
|
c2a27a0751
|
Adapts main.go to sqlc usage
|
2024-04-26 22:47:01 +02:00 |
|
|
|
5005186cd3
|
Removes internal directory
|
2024-04-26 22:46:52 +02:00 |
|
|
|
c65e239b68
|
Removes internal api package
|
2024-04-26 22:46:31 +02:00 |
|
|
|
ce5ee0fbd7
|
Adapts api package to have users handler
|
2024-04-26 22:46:23 +02:00 |
|
|
|
bdaa5aa59b
|
Sets up sqlc
|
2024-04-26 22:46:14 +02:00 |
|
|
|
08c7c1f9fa
|
Refactors api key functionality
- API Key is now read from env file
- API routes won't be set up if no API key is given via ENV file
|
2024-04-26 20:46:59 +02:00 |
|
|
|
86a7caa98f
|
Uses .env file
|
2024-04-26 20:45:59 +02:00 |
|
|
|
b4619e612a
|
Adds .env file to gitignore
|
2024-04-26 20:23:43 +02:00 |
|
|
|
7994fe733a
|
Adds .env file to air config and cleans on exit
|
2024-04-26 20:23:28 +02:00 |
|
|
|
17a2166cd4
|
Updates bruno requests
|
2024-04-26 20:23:18 +02:00 |
|
|
|
c973859f7f
|
Implements api routes and api key auth
CAUTION: Temporary api key is hardcoded, must be changed
|
2024-04-26 17:23:55 +02:00 |
|
|
|
47dab069c3
|
Adapts database connections
|
2024-04-26 17:23:25 +02:00 |
|
|
|
34f7d99639
|
Updates bruno requests
|
2024-04-26 17:23:09 +02:00 |
|
|
|
7008c1c84b
|
Uses fiber instead of gin
|
2024-04-26 15:40:44 +02:00 |
|
|
|
4d218cf16a
|
Adds initial migration
|
2024-04-26 15:16:57 +02:00 |
|
|
|
23e29c44f4
|
Sets up and initializes database for freed (SQLite)
|
2024-04-26 15:16:48 +02:00 |
|
|
|
6f79f255d9
|
Ignores .db files
|
2024-04-26 15:16:20 +02:00 |
|
|
|
a02ee0270a
|
Adds test request for status endpoint
|
2024-04-26 13:14:12 +02:00 |
|
|
|
833b2759f4
|
Adds dummy status endpoint
|
2024-04-26 13:14:01 +02:00 |
|
|
|
92aaba7a5b
|
Initializes bruno for requests
|
2024-04-26 13:04:36 +02:00 |
|
|
|
6893618256
|
Installs gin framework
|
2024-04-26 13:04:27 +02:00 |
|
|
|
8073ec65c2
|
Adds mac specific file to gitignore
|
2024-04-26 13:04:06 +02:00 |
|
|
|
eece1d76c5
|
feat: Updates gitignore to ignore temporary directory
|
2023-12-20 20:49:50 +01:00 |
|
|
|
36654cac94
|
feat: Sets up air
|
2023-12-20 20:48:41 +01:00 |
|
|
|
96c262a1c5
|
feat: Simplifies project structure
|
2023-12-20 20:48:27 +01:00 |
|
|
|
ce3af5f873
|
fix: Adds tmp/ to gitignore
|
2023-12-20 20:44:39 +01:00 |
|