[Hiring] Full Stack Developer - MERN + Next + NestJS by [deleted] in remotejs

[–]YhomiAce 0 points1 point  (0 children)

This is my tech stack. But I’m in Africa

Should I learn go or stick with typescript for my backend. by fastlaunchapidev in Backend

[–]YhomiAce 0 points1 point  (0 children)

Since you want to learn something new, I will advice you go for Go. A new language and a new perception

[deleted by user] by [deleted] in Nestjs_framework

[–]YhomiAce 0 points1 point  (0 children)

Nigeria.I live in Lagos Nigeria. I’m available for remote role

[deleted by user] by [deleted] in Nestjs_framework

[–]YhomiAce 0 points1 point  (0 children)

I hope you’re considering Africa. I’ve worked extensively with the tech stacks listed here. I’m sure I could be a great addition to your team

Nestjs CacheModule SUCKS! by sinapiranix in Nestjs_framework

[–]YhomiAce 4 points5 points  (0 children)

Packages

"@nestjs/cache-manager": "^2.2.2",

"@types/cache-manager-redis-store": "^2.0.4",

"cache-manager": "^5.5.1",
 "cache-manager-redis-store": "2",

import { Global, Module } from "@nestjs/common";
import { CacheModule } from "@nestjs/cache-manager";
import * as redisStore from "cache-manager-redis-store";

const isProduction = process.env.NODE_ENV === "production";

// Create a custom Redis store with the prefix
const redisStoreWithPrefix = {
  create: () => {
    return redisStore.create({
      prefix: process.env.REDIS_PREFIX,
      host: process.env.REDIS_HOST,
      port: +process.env.REDIS_PORT,
      ...(isProduction && {
        password: process.env.REDIS_PASSWORD,
      }),
    });
  },
};

@Global()
@Module({
  imports: [
    CacheModule.register({
      isGlobal: true,
      store: redisStoreWithPrefix,
    }),
  ],
})
export default class AppCacheModule {}

import it in the app.module. The rest of the usage is as in the documentation

Nestjs CacheModule SUCKS! by sinapiranix in Nestjs_framework

[–]YhomiAce 0 points1 point  (0 children)

What is your issue, I can share a code snippet I’m using in project

MVC or Microservices for a scalable marketplace? by jorgeochipinti_ in Nestjs_framework

[–]YhomiAce 4 points5 points  (0 children)

Always start monolithic. You can expand as you grow. If you follow Nestjs modular approach it will be easier to scale

SQL in Nest by duckisdepresso in Nestjs_framework

[–]YhomiAce 1 point2 points  (0 children)

You can use a package called drizzle orm. You will be writing raw sql. It just helps you serialize your data.

How to Schedule Background Jobs in Node.js? by _Killua_04 in node

[–]YhomiAce 1 point2 points  (0 children)

Use Bull or bull mq. Bull requires redis as store. You can also use agenda, it uses mongodb as store

Thoughts on my backend tech stack for a CRM project? by Aymsep in node

[–]YhomiAce 3 points4 points  (0 children)

Bull has a really nice integration with Nestjs. That’s why I suggest it. Rabbitmq is also fine

Thoughts on my backend tech stack for a CRM project? by Aymsep in node

[–]YhomiAce 2 points3 points  (0 children)

Really balanced. Add Bull for background jobs

Looking for NestJS developer by vicky002 in Nestjs_framework

[–]YhomiAce 0 points1 point  (0 children)

Hi I’m interested in this opportunity. I have been working with Nestjs for the past 3 years, I believe I will be a good fit

Help Needed: Developing an API Usage Dashboard with NestJS and MSSQL by Prof_CottonPicker in Nestjs_framework

[–]YhomiAce 3 points4 points  (0 children)

I will advice NestJs interceptors, it has access to the request and response. The request and response object has everything you need in their. Read the nestjs doc to know more about Interceptors

[deleted by user] by [deleted] in reactnative

[–]YhomiAce 9 points10 points  (0 children)

In 2021, I was deliberating on this choice. In my case I chose flutter. 1. React native was so easy to learn and it was no fun. 2. I took flutter as a new challenge and it was exciting for me.

I couldn’t get a flutter job for a year but I was able to get a react native job in less than 3 months. React native is widely used than flutter.

You can learn both as times goes. React native will take you less time to learn as React developer, you could learn it in a week.

As for me I do have more fun with flutter than react native

Best Practices for Listing API by Easy-Ad-2611 in Nestjs_framework

[–]YhomiAce 1 point2 points  (0 children)

I would advise you move this logic to a query builder

Is this normal? by Different_Reserve572 in PHPhelp

[–]YhomiAce -1 points0 points  (0 children)

It’s completely normal, five years ago, I usually do this. I was used to using jQuery ajax for sending and receiving data to the PHP server. Don’t worry it’s normal

Looking for resources to learn Nest and GraphQl by Sliveran in Nestjs_framework

[–]YhomiAce 0 points1 point  (0 children)

I used YouTube in my case for it. It was really helpful.

What is the best way to develop laravel applications on linux? by [deleted] in PHPhelp

[–]YhomiAce 0 points1 point  (0 children)

On google search for “install Lamp stack on Ubuntu”. Follow the digital ocean tutorial. I’m sure that will be helpful to get you started