Fueling Curiosity, One Insight at a Time

At Codemancers, we believe every day is an opportunity to grow. This section is where our team shares bite-sized discoveries, technical breakthroughs and fascinating nuggets of wisdom we've stumbled upon in our work.

Jun 6, 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

rishav.raj
Rishav Raj
System Analyst
Jun 3, 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
ashwanikumarjha
Ashwani Kumar Jha
Senior System Analyst
Jun 1, 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
sujay
Jun 1, 2023
Get all TODO comments in rails application using rails notes
sujay
sujay
May 31, 2023


1. Learned how to use the slack api.
2. Learned how to send message on user command through the slack bot.
3. Learned how to setup and use incoming web hook for slack bot.
4. Learned How to post message in channel using the incoming web hook.
5. Learned how to do post req using the axios.
rishav.raj
Rishav Raj
System Analyst
May 30, 2023


1. Learned how to make slack bot.
2. Learned how to use slack bot.
3. Learned how to add slack bot to the workspace and channel .
4. Learned how to use brew
5. Learned how to use ngrok and redirect the local host port to the ngrok url.
rishav.raj
Rishav Raj
System Analyst
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
ananth
ananth
May 22, 2023
1. i learned how to do filtering and sorting with the api by passing params.
2. i learned how to write test cases for the components like filtering and sorting.
3. i learned how to mock api using the jest.
rishav.raj
Rishav Raj
System Analyst
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.
rishav.raj
Rishav Raj
System Analyst
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:
• 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
keshav.chakravarthy
keshav.chakravarthy

Showing 40 to 42 of 77 results

Ready to Build Something Amazing?

Codemancers can bring your vision to life and help you achieve your goals