5 Commits

Author SHA1 Message Date
2a879c71f1
feat: Update fetchUser function and add new modules
Updated the 'fetchUser' function in 'auth.service.ts', removing the specific user ID parameter, and added a return statement. Moreover, 'ProductsModule', 'StocksModule', and 'TransactionsModule' have been imported to 'app.module.ts'.
2024-07-12 14:25:05 +02:00
e1909791ac
feat(auth): Enhance AuthService with additional functionalities and dependencies
This commit implements additional operations in AuthService such as user registration, login, fetching, updating, and deletion. It also adds two new dependencies: DrizzleService and CredentialsService. Moreover, AuthService now implements OnModuleInit for executing methods once the module has been initialized. Corresponding changes are reflected in the module structure.
2024-07-09 15:02:25 +02:00
3c57098bbe
feat(auth): add Auth service and module
A new authentication service and module were added to the application. The app.module.ts file was updated to include this newly created AuthModule. Also, an initial structure for the AuthService was set up.
2024-07-09 14:11:13 +02:00
e575b669ce
feat: add Drizzle module and service
Implement Drizzle service and integration in the project. A new Drizzle module was added to the nest app. The Drizzle service also includes configuration for postgres database and management of migration client. An adjustment was also made to tsconfig.json to enable ES module interoperation.
2024-07-09 14:08:03 +02:00
b95f5be3a6
feat(app.module): add ThrottlerModule and ConfigModule
A new app.module.ts file was added with ThrottlerModule and ConfigModule imported from NestJS. The throttler is configured with a rate limit and the configuration module is set as global. The LogService was provided and exported for other parts of the application to use.
2024-07-09 13:42:41 +02:00