전체 글
-
How to rollback if my Macbook makes duplicate files automaticallyGitLab 2024. 5. 15. 15:44
I have had some issues that Macbook creates duplicate files names.For example, I have a file in src/domain/client and then later I also have src/domain/client 2 even though I didn't create.It seems very simple to delete the one file, but imagine it copied 10k folders or files itself.How would you rollback to the prior time that I didn't have duplicates ?I found this command and I am not afraid t..
-
[Nest.js] Life Cycle - 2 GuardsNest.js 2021. 10. 7. 19:02
1. What is Guards? Guards are for protecting our server based on our rules "internally". What I mean is that we have to set up its own conditions, such as permissions, roles, etc.., in our project. Guards works on here for Authentication/Authorization !! Guard is designed to return True or False only. Why?, because there are no options need for authentication and authorization. 2. What Guards do..
-
[Forex] VocabularyForex 2021. 10. 4. 23:35
Forex (Foreign Exchange) - it’s the global financial market that allows one to trade currencies. Liquidity - Liquidity is used to describe the level of activity in the financial market. In forex, it’s based on the number of active traders buying and selling a specific currency pair and the volume being traded. The more frequently traded something is the higher its liquidity. For example, more pe..
-
[Nest.js] Life Cycle - 1 MiddlewareNest.js 2021. 10. 1. 14:48
1. What is Middleware? Nest.js documentation Middleware is a function which is called before the route handler. Middleware functions have access to the request and response objects, and the next() middleware function.Nest middleware are equivalent to Express middleware.Nest Middleware fully supports Dependency Injection. A middleware class implements NestMiddleware interface, and its abstract us..
-
[Nest.js] Life Cycle - advanced approachNest.js 2021. 9. 29. 15:12
Do we know why they are seperated into several components? Is it possible to implement within any component by ignoring their role? LET'S SEE MORE DETAILS OF Nest.js Life Cycle RIGHT NOWWWWWWW ! - Nest.js Life Cycle from request to response - Detail 1.Middleware Middleware is called only before the route handler is called. You have access to the response object, but you don't have the result of ..
-
[Nest.js] simple projectNest.js 2021. 9. 27. 18:15
will cover very basics of Nest.js from creating a project to Building REST API. Please make sure that we have installed 1. Node - v14.17.6 2. npm(Node Package Manager) - 7.20.3 3. Visual Studio Code 4. Postman (download link - https://www.postman.com/downloads/) or Insomnia (download link - https://insomnia.rest/download) STEP 1 - Install Nest.js 1.1 check node & npm version $ node -v $ npm -v 1..
-
[Nest.js] 16 - Log with Winston and WebHookNest.js 2021. 9. 25. 18:36
- last time in #14, we used built-in Logger in nestjs/common. However, we will use the external logger, which is Winston. - Nest's built-in logger is used for monitoring Nest system behavior, and can also be useful for basic formatted text logging in your feature modules while in development Constent 1. Winston? 2. Module Installation 3. Winston Logging Level 4. Winston Transports 5. Implementat..
-
[Nest.js] 15 - ConfigurationNest.js 2021. 9. 22. 02:25
Contents 1. Configuration? 2. Codebase vs Environment Variables 3. Module Installation 4. Configuration implementation 1. Configuration? - In our source code, some of codes that we have written may be affected by Application Environment, Development Environment, or be protected from others. - Therefore, we will deal with those code to save in much securer way, which is called Configuration File...