3 Commits

Author SHA1 Message Date
b640dc7671
feat: Add getSelf endpoint and improve user service
This commit introduces a new endpoint, `GetSelfController`, for fetching authenticated user information in the `AuthController`. It also improves token handling by refactoring token retrieval from headers into a utility function. Additionally, the User service has been extended with new methods for getting a user by ID and for fetching follower and following information. Token UUID handling during registration has been tweaked for consistency. Improvements in logging levels and responses status codes have been made as well.
2024-05-22 17:04:41 +02:00
1ad136ea60
feat: Implement registration feature and update database service
This commit creates new methods for the authentication system, especially the user registration feature. The update also validates input data and checks if a user already exists in the database. It modifies the application entry point to include the updated user registration route and provides updates to the database service to include user-related functions. The MariaDB collation was also updated in the database schema script to support unicode.
2024-05-21 16:14:54 +02:00
91f431837f
feat: Add package.json for the application
This commit introduces a package.json file for the application. It includes scripts, dependencies, and devDependencies necessary for running and developing 'brief-06-back', a social networking platform. This ensures necessary packages are installed and scripts are easily accessible.
2024-05-13 10:54:10 +02:00