gleidsonlm / angelon-api

AngelOn API is the backend implementation for the AngelOn application.
0 stars 0 forks source link

Publishing AngelOn API functional for user management #1

Closed gleidsonlm closed 1 year ago

gleidsonlm commented 1 year ago

API user management in AngelOn API will be used by all other modules for CLUE (Create, List, Update, and Exclude).

gleidsonlm commented 1 year ago

Using Nest.JS to generate got the MVC components, now implementing Mongoose/MongoDB for user's data repository.

gleidsonlm commented 1 year ago

Last commit has single-user creation and validation complete.

Started the "users" controller within the user module for admin/moderator-like functions for managing users in a bulk.

Currently working on the single-user update, and exclude methods.

gleidsonlm commented 1 year ago

Unable to get Jest/Mock test MongoDB function "save" to work correctly, this shouldn't block the development. I'll fall back to testing the functions with MongoDB test implementation and create a new project item to refactor tests using mocks.

gleidsonlm commented 1 year ago

Completed User Service and Controller tests with InMemory test database. Starting the E2E tests using MongoDB test instance.

gleidsonlm commented 1 year ago

Initial E2E tests' first iteration is working in the last commit, but in need to investigate the @IsEmail class-validator decorator in the create user's DTO is functioning as designed.

gleidsonlm commented 1 year ago

Depending on https://github.com/gleidsonlm/angelon-api/issues/2

gleidsonlm commented 1 year ago

Working on the documentation of the current state of the API.

gleidsonlm commented 1 year ago

Documentation started with Compodoc and Swagger on pull request #18 .