rishav.raj
Tue Jun 06 2023
I learned how to use promise.all to combine multiple api calls. Learned how to made api endpoint by using app directory and page directory in Next Js.
Learned how to implement slack bolt app with next js using the bolt http runner npm package
Learned how to use node-cron to schedule message
ashwanikumarjha
Sat Jun 03 2023
The Active Record Pattern
popularised by Ruby on Rails
goes against the modularity provided by Nest.Js
.
Nest.js
encourages the use of the Repository pattern
.
Data Mapper/Repository pattern:
• Separates data access logic from business logic
• Data Mapper: Maps data between domain objects and the database
• Repository: Provides methods for querying and manipulating domain objects
• Promotes separation of concerns, testability, and maintainability
Active Record:
• Combines data access and business logic within domain objects • Domain objects encapsulate database interactions • Simplifies development by allowing direct manipulation of objects • Can make separation of concerns and independent testing more challenging
sujay
Thu Jun 01 2023
Etag HTTP Header
- Etag (also known as entity tag) is a unique identifier for a resource
- This is used to cache the resources that are unchanged
- When a request is recieved by server, it generates response and attaches Etag
- In the subsequent request, application requests for the same resource with
If-None-Match
header with the value of Etag received in previous step - Server compares the value of If-None-match header with Etag identifier value on server
- If the values match server responds with 304(Not modified) status code with the empty body
- Application can use the cached response
sujay
Thu Jun 01 2023
Get all TODO comments in rails application using rails notes
rishav.raj
Wed May 31 2023
- Learned how to use the slack api.
- Learned how to send message on user command through the slack bot.
- Learned how to setup and use incoming web hook for slack bot.
- Learned How to post message in channel using the incoming web hook.
- Learned how to do post req using the axios.
rishav.raj
Tue May 30 2023
- Learned how to make slack bot.
- Learned how to use slack bot.
- Learned how to add slack bot to the workspace and channel .
- Learned how to use brew
- Learned how to use ngrok and redirect the local host port to the ngrok url.
ananth
Tue May 23 2023
Faced problem in installing latest version of yarn on Github Actions self hosted runner, used below as a solution to install yarn manually which fixed the issue. https://github.com/yarnpkg/yarn/issues/3042#issuecomment-348181028
rishav.raj
Mon May 22 2023
- i learned how to do filtering and sorting with the api by passing params.
- i learned how to write test cases for the components like filtering and sorting.
- i learned how to mock api using the jest.
rishav.raj
Wed May 17 2023
1.Tomorrow, I learnt how to utilise a single component to prevent code repetition and use that component in every component to prevent code repetition, 2. To make the API scalable, we need to create various methods to call it if I had many end points.
keshav.chakravarthy
Sun May 14 2023
You can use cloudflared to expose apps running on localhost using a dedicated domain, and HTTPS
• For hosting using a random URL just run cloudflared tunnel --url http://localhost:<PORT>
• For an owned domain, there are a bunch more steps.
◦ Prerequisites:
▪︎ You need a domain name that you own. Can buy one for an year for <200 Rs
▪︎ Create a Cloudflare account. You will be asked to login to dash.cloudflare.com
▪︎ Follow the instructions including the installation instructions in https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide/local
Showing 29 to 31 of 66 results