powermaker450
|
550d862e09
|
Prettier
|
2024-09-20 12:38:39 -04:00 |
|
powermaker450
|
65382936cf
|
Add skip parameter to /api/reviews
|
2024-09-20 12:38:23 -04:00 |
|
powermaker450
|
1a967876b8
|
Add max parameter to /api/reviews
|
2024-09-20 12:30:21 -04:00 |
|
powermaker450
|
9843459d22
|
Basic API docs
|
2024-09-16 12:14:50 -04:00 |
|
powermaker450
|
7b59fc5e4e
|
Return different errors for invalid ID length and no review being found
|
2024-09-15 10:20:06 -04:00 |
|
powermaker450
|
91480fea64
|
Return 404 on review ID that returns no review
|
2024-09-13 12:12:07 -04:00 |
|
powermaker450
|
14e9549599
|
Move all routes behind /api
|
2024-09-13 12:06:20 -04:00 |
|
powermaker450
|
f0c920a0d5
|
cd
|
2024-09-12 00:26:33 -04:00 |
|
powermaker450
|
eb16766d16
|
Fix the links in the README (I am very much in a tired state)
|
2024-09-12 00:25:27 -04:00 |
|
powermaker450
|
8bdfeb588d
|
Fix README (I was tired and wrote half the README for the server and the other half for the client)
|
2024-09-12 00:21:32 -04:00 |
|
powermaker450
|
fbac19ec59
|
Change README
|
2024-09-12 00:17:52 -04:00 |
|
powermaker450
|
e654c63b58
|
Add CORS headers
|
2024-09-09 12:24:24 -04:00 |
|
powermaker450
|
9bf3fc88a6
|
Prettier
|
2024-08-27 13:42:13 -04:00 |
|
powermaker450
|
92cbe519b7
|
Append timestamp to reviews
|
2024-08-27 13:42:00 -04:00 |
|
powermaker450
|
a720a9a0a2
|
Return review with message ID stripped when querying by ID
|
2024-08-27 01:47:06 -04:00 |
|
powermaker450
|
a17b7595c1
|
Use crypto to generate ids
|
2024-08-27 01:31:24 -04:00 |
|
powermaker450
|
33964ca6d1
|
Use static methods for responder and export the whole class
|
2024-08-27 01:19:50 -04:00 |
|
powermaker450
|
2ec6dd5476
|
Use static methods for logger
|
2024-08-27 01:04:36 -04:00 |
|
powermaker450
|
d605ee07f2
|
Fix logging levels
|
2024-08-21 14:32:43 -04:00 |
|
powermaker450
|
a94d683293
|
Add configurable log levels
|
2024-08-21 11:49:54 -04:00 |
|
powermaker450
|
0aea8e7464
|
Make text optional in logger
|
2024-08-21 11:32:30 -04:00 |
|
powermaker450
|
35f5d3d071
|
Create custom type for IdRequest
|
2024-08-21 11:28:13 -04:00 |
|
powermaker450
|
9161427968
|
Remove unneeded data creation
|
2024-08-21 11:13:15 -04:00 |
|
powermaker450
|
d866fbcb62
|
Add basic logging for queries
|
2024-08-21 03:19:09 -04:00 |
|
powermaker450
|
18df0a7a6a
|
Change "messages" route to "reviews"
|
2024-08-21 03:12:33 -04:00 |
|
powermaker450
|
4367e5a944
|
Fix crash when ./persist directory exists and tries to be recreated
|
2024-08-21 03:05:35 -04:00 |
|
powermaker450
|
159ef008de
|
Fix crash when data.json doesn't exist
|
2024-08-21 03:04:23 -04:00 |
|
powermaker450
|
ed9a4cb146
|
Fix status code for empty responses
|
2024-08-21 03:02:53 -04:00 |
|
powermaker450
|
99ef2cb9e7
|
Add basic message querying
|
2024-08-21 02:59:17 -04:00 |
|
powermaker450
|
a2de4f12d8
|
Remove unused imports
|
2024-08-21 02:35:50 -04:00 |
|
powermaker450
|
d077fdc016
|
Add color to host link
|
2024-08-21 02:34:42 -04:00 |
|
powermaker450
|
74c17bcd8e
|
Move disk data to a class
|
2024-08-21 02:31:44 -04:00 |
|
powermaker450
|
fd4bc44842
|
Prettier
|
2024-08-21 01:36:33 -04:00 |
|
powermaker450
|
b1bdc83876
|
Seperate "/post" endpoint into a route, use express for routing
|
2024-08-21 01:25:49 -04:00 |
|
powermaker450
|
3a70d49fdb
|
Use || for determining port because NaN
|
2024-08-20 18:40:53 -04:00 |
|
powermaker450
|
e097ed69a7
|
Assign ID's to reviews for use server-side
|
2024-08-19 01:46:06 -04:00 |
|
powermaker450
|
04197c01b0
|
Make title optional
|
2024-08-19 01:00:27 -04:00 |
|
powermaker450
|
3846034a44
|
Remove 'strict()' not sure what it does
|
2024-08-19 00:50:14 -04:00 |
|
powermaker450
|
531b28501b
|
Remove ./persist directory when running 'clean'
|
2024-08-19 00:12:50 -04:00 |
|
powermaker450
|
1fd79b50eb
|
Fix rating logic
|
2024-08-19 00:10:56 -04:00 |
|
powermaker450
|
6298fe8cfc
|
Prettier
|
2024-08-18 23:45:00 -04:00 |
|
powermaker450
|
34bcb07a1a
|
Specify whether the error was because of the server or a client
|
2024-08-18 23:44:22 -04:00 |
|
powermaker450
|
8d6572c631
|
Add 'title' to Review and add length limits to all string values
|
2024-08-18 23:30:53 -04:00 |
|
powermaker450
|
6041aea8ed
|
Improve responder messages
|
2024-08-18 23:17:31 -04:00 |
|
powermaker450
|
bb67c4582d
|
Remove redundant port selection
|
2024-08-18 22:45:26 -04:00 |
|
powermaker450
|
e289abf1f8
|
Change response data
|
2024-08-18 22:45:02 -04:00 |
|
powermaker450
|
14791149c6
|
Accept data only at /post
|
2024-08-18 19:22:50 -04:00 |
|
powermaker450
|
d865b56c63
|
Validate that the rating of a review only contains 1 decimal place
|
2024-08-18 17:59:11 -04:00 |
|
powermaker450
|
ecfe99912b
|
Fix logger logging '[object Object'
|
2024-08-18 17:49:14 -04:00 |
|
powermaker450
|
934baa60b0
|
Use emp() when defining the sender
|
2024-08-18 17:46:39 -04:00 |
|