Commit Graph

145 Commits

Author SHA1 Message Date
Adolfo Reyna
c6d9dfd3c1 fix(auth): enforce POST body credentials and generic auth errors 2026-02-20 20:09:29 -05:00
Adolfo Reyna
0baf237548 docs(auth): add password security hardening plan and code markers 2026-02-20 20:07:26 -05:00
Adolfo Reyna
ea864b27d4 Harden local/prod cookie policy and Mongo connection settings 2026-02-20 19:25:21 -05:00
Adolfo Reyna
c136d25974 Harden feed/profile routes against invalid IDs and null profiles 2026-02-20 19:09:15 -05:00
Adolfo Reyna
0b36db9b33 docs: Update Swagger documentation for Profile endpoints
Updated the Swagger documentation for various Profile endpoints to accurately
reflect their return types, including arrays of Profile objects and detailed
schemas for specific responses.
2025-07-17 10:32:22 -04:00
Adolfo Reyna
e4bac717f9 docs: Add API documentation access instructions to README
Updated the README.md file to include instructions on how to access the
interactive API documentation via Swagger UI, including the URL.
2025-07-17 10:00:31 -04:00
Adolfo Reyna
d21736d52c docs: Update Swagger documentation for Post endpoints
Updated the Swagger documentation for various Post endpoints to accurately
reflect their return types, including arrays of Post objects and detailed
schemas for specific responses.
2025-07-17 09:59:50 -04:00
Adolfo Reyna
148ed696b2 feat: Add Swagger API documentation
This commit introduces Swagger API documentation for all endpoints in the
application.

- Installs  and .
- Configures Swagger in  to generate and serve API documentation
  at .
- Adds JSDoc-style Swagger annotations to all routes in  and
  the  directory (, , ,
  , , ).
- Defines a cookie-based security scheme for authenticated routes.

This allows for interactive API documentation and testing via the
endpoint.
2025-07-17 09:52:37 -04:00
Adolfo Reyna
0a48327e93 Improve readme (AI) 2025-07-17 09:37:21 -04:00
Adolfo Reyna
100b0c2a8f Change payments to be accessible wihtout loggin 2025-07-17 09:32:49 -04:00
Adolfo Reyna
64ca9df639 Tags support 2025-07-17 09:32:27 -04:00
Adolfo Reyna
46a2fc5c2b Add endpoint to retrieve posts by tag with validation 2025-02-27 23:45:17 -05:00
Adolfo Reyna
56cb8b4caa Enhance session and profile handling with validation and error handling improvements 2025-02-27 23:12:11 -05:00
Adolfo Reyna
606db78529 Add data to push notifications 2025-02-27 23:11:53 -05:00
Adolfo Reyna
7868df1abc Fix ratelimiter IP check 2025-02-21 22:58:18 -05:00
Adolfo Reyna
5bc1edb749 Add rate limiter 2025-02-21 22:23:31 -05:00
Adolfo Reyna
ad62814d82 Add simple test with Mocha 2025-02-21 22:06:45 -05:00
Adolfo Reyna
2e7c0a6915 Experiment with Ollama to summarize post content 2025-02-21 00:12:59 -05:00
Adolfo Reyna
66893f7e53 Improve docker for local server 2025-02-21 00:12:42 -05:00
Adolfo Reyna
1056a91c33 Start simple translation approach 2025-02-21 00:12:17 -05:00
Adolfo Reyna
7902b75b5c Improve code redability 2 2025-02-20 23:52:45 -05:00
Adolfo Reyna
0b20f05124 Cleaning code for index.js 2025-02-20 23:27:13 -05:00
Adolfo Reyna
e4dfee39ff Removing sensitive data to env and log identifier at login 2025-02-20 21:50:52 -05:00
Adolfo Reyna
a49932ae79 Fix bug on organic endpoint 2025-02-20 21:49:25 -05:00
Adolfo Reyna
4cab4decb6 Fix error handling at singup 2025-02-13 15:45:17 -05:00
Adolfo Reyna
50ed0e2c7d fix invitation and registration to use lowercase 2025-02-11 11:34:28 -05:00
Adolfo Reyna
222d203a57 small bug on login logs 2025-02-08 07:55:41 -05:00
Adolfo Reyna
9f32ab01b8 Improve logging by using original path and method 2025-02-08 07:52:52 -05:00
Adolfo Reyna
6664dd5f89 Adding analitycs with PostHog 2025-02-06 09:57:03 -05:00
Adolfo Reyna
0d06e2a446 Disabling web push since is breaking the server 2025-02-06 08:51:26 -05:00
Adolfo Reyna
c2169c9604 Make promotional post default for now 2025-02-05 20:50:38 -05:00
Adolfo Reyna
309ae1b69b Add promotional endpoint (extended) for new users 2025-02-05 20:46:24 -05:00
Adolfo Reyna
bf2cdd4696 Dissabling email for group posts for now 2025-02-05 09:58:37 -05:00
Adolfo Reyna
9ad30e102e Check for invitations which were used already 2025-02-04 23:21:53 -05:00
Adolfo Reyna
62fcf4fe2c Fix endpoint to check invitations 2025-02-04 23:03:46 -05:00
Adolfo Reyna
b9a3768f4c Caught errors on webpush 2025-02-03 22:53:41 -05:00
Adolfo Reyna
0ca589cbe8 Catching werid cornercase on which users don't have profiles. 2025-02-02 23:55:58 -05:00
Adolfo Reyna
9ab922f765 Fix bug on signup 2025-02-02 23:48:48 -05:00
Adolfo Reyna
d79138fba6 Add notifications to user when a follow profile posted 2024-12-31 16:28:31 -05:00
Adolfo Reyna
433f3069b3 Fix another bug on lastprofile at loggin 2024-12-31 16:27:07 -05:00
Adolfo Reyna
ede12f9ec2 Fix latestProfile bug 2024-12-31 14:55:59 -05:00
Adolfo Reyna
aac7080f7f Adding docker support 2024-10-18 11:59:15 -04:00
Adolfo Reyna
e52c379a55 Adding local development on dokku 2024-10-16 16:50:11 -04:00
Adolfo Reyna
487bc2da18 Merge branch 'master' of https://github.com/aeroreyna/EMI_backend 2024-10-16 16:22:55 -04:00
Adolfo Reyna
3319e9fa36 Add Dockerfile 2024-10-04 16:35:59 -04:00
Adolfo Reyna
2434840c50 Improving comments 2024-06-26 22:59:26 -04:00
Adolfo Reyna
533610e0c1 Improve feed recomendations 2023-10-24 21:59:18 -04:00
Adolfo Reyna
bffe227ad4 Fix post likes 2023-07-10 20:24:29 -04:00
Adolfo Reyna
6b24947b56 Merge branch 'master' of https://git.heroku.com/safe-atoll-23973 2023-07-08 16:36:46 -04:00
Adolfo Reyna
afee8869a6 Add temp domain 2023-07-08 16:30:12 -04:00