|
309e880b69
|
feat(api): create endpoint to ban/unban a user
yeeting is now possible :D
|
2023-10-10 21:57:35 -04:00 |
|
|
d67530eb64
|
refactor(server/middleware): rename currentUser middleware
|
2023-10-10 21:56:25 -04:00 |
|
|
6afc547f8e
|
feat(api): add endpoints for blocking/unblocking a specific user
|
2023-10-10 21:55:15 -04:00 |
|
|
8bf78a0494
|
feat(api): add endpoint to get all non-hidden stories a user has written
|
2023-10-10 21:54:37 -04:00 |
|
|
79f5f2cc10
|
feat(api): add endpoint for fetching full info for a user
|
2023-10-10 21:53:53 -04:00 |
|
|
a6dd1002e2
|
refactor(server/middleware): update middlewares to use winston logger instead of plain console.log
|
2023-10-05 02:07:05 -04:00 |
|
|
b000c6734a
|
refactor(api): rename imports and refactor error messages
|
2023-10-03 01:24:06 -04:00 |
|
|
218bd5f565
|
chore(workspace): allow implicit this in tsconfig
|
2023-10-03 01:20:29 -04:00 |
|
|
6167a9ea70
|
style: run prettier
|
2023-10-03 01:19:36 -04:00 |
|
|
f0346ebdbd
|
feat(api): add an endpoint to retrieve the users who have favourited a specific story
|
2023-10-03 01:18:12 -04:00 |
|
|
6b5b01fdd6
|
refactor(api): change error messages to imported constant values
|
2023-10-03 01:17:21 -04:00 |
|
|
c9723e644f
|
feat(api): add avatar upload route
|
2023-10-03 00:58:52 -04:00 |
|
|
da700b90d5
|
feat(server/middleware): create request logging middleware
|
2023-10-03 00:58:05 -04:00 |
|
|
84502b68b8
|
fix(server/middleware): add guard against setting event.context.currentUser to null
|
2023-10-03 00:57:21 -04:00 |
|
|
643c8b3c77
|
refactor(server/middleware): create middleware to add the current story's chapter index to the context as an int (if it exists)
because convenience
|
2023-10-03 00:56:16 -04:00 |
|
|
d270f2a045
|
feat(api): add a "get all bands" endpoint
|
2023-10-03 00:54:55 -04:00 |
|
|
8070e8c555
|
feat(api): add endpoints for retrieving a band's info and its associated stories
|
2023-10-03 00:48:41 -04:00 |
|
|
9bf5e9dc38
|
feat(api): create review endpoints for creating, editing, deletion and replying
|
2023-10-03 00:21:14 -04:00 |
|
|
356cb5ea6b
|
feat(api): create review endpoints
create endpoints for adding+getting a single chapter's reviews
|
2023-10-02 21:43:24 -04:00 |
|
|
cfb1f69ffb
|
refactor(server/middleware): move common logic for maintaining a database connection to another file
|
2023-10-02 16:08:12 -04:00 |
|
|
63dd3d063a
|
feat(api): add file upload endpoint for story content
|
2023-10-02 16:00:33 -04:00 |
|
|
d056dac72b
|
refactor(api): update function calls
|
2023-10-02 15:46:56 -04:00 |
|
|
ff4b94d913
|
feat(api): ✏️ add story api endpoints
(update/create/delete)
|
2023-10-02 15:44:55 -04:00 |
|
|
2bcedca7fb
|
feat(api): add registration endpoint
|
2023-10-01 19:25:40 -04:00 |
|
|
2b233364a1
|
refactor(api): refactor app to use pure jwts instead of cookies
cookies are no longer used
|
2023-09-28 21:55:19 -04:00 |
|
|
8082446071
|
chore(config): tweak tsconfig
|
2023-09-25 19:55:31 -04:00 |
|
|
421a283d6c
|
refactor(server/middleware): inject ficmas data into request context via middleware
to make sure people can't see ficmas stories in listings
|
2023-09-25 19:53:01 -04:00 |
|
|
2ea40ebb07
|
refactor(server/middleware): add middleware to "persist" mongoose's database connection
|
2023-09-25 19:50:07 -04:00 |
|
|
6409f4d646
|
feat(api): add story/author count endpoint
|
2023-09-25 19:36:04 -04:00 |
|
|
f0a006b3d5
|
feat(server/middleware): add the h3 equivalent of req.user to incoming request contexts
|
2023-09-25 19:33:02 -04:00 |
|
|
b6ee38e0b3
|
refactor(api): rename genre endpoint
|
2023-09-25 19:24:23 -04:00 |
|
|
2595c3fd1f
|
begin api
|
2023-09-23 16:40:24 -04:00 |
|
|
c089b86f14
|
initialize with nuxt
|
2023-09-23 15:58:51 -04:00 |
|