You are browsing as a guest. Sign up (or log in) to start making projects!

NHero

@NHero

Joined June 2nd, 2026

  • 11Devlogs
  • 5Projects
  • 1Ships
  • 8Votes
Open comments for this post

8h 37m 27s logged

Devlog 1

So I’ve been working on the socket server for this game for the past couple of days. What I’ve learned so far is that game logic is sometimes so frustrating like there can be so many edge cases you have to think about and there can be many nested if else.

So my tech stack for the socket server is:

  • Socket.io
  • IoRedis (redis hosted using docker)
  • Zod
  • and node httpServer

Ofcourse everything is written in typescript. I didn’t made separate devlogs because I forgot, sorry for that

Here’s what I did

  • I made the folder structure moduler having different modules for different logic : room, game, question
  • Shared files are in shared folder
  • Each module has its own listener, service, schema with some having util/helper file
  • I first worked on room then game then question
  • Some things are still left to do, but first I would like to make some of the frontend
0
0
2
Open comments for this post

2h 10m 33s logged

Devlog - 08

Since I was building a front end for this project and when designing the front end I didn’t had a route for getting all the businesses the logged in user is part of. So I added that route to show all the businesses on the home page of dashboard

And also I have email, password login so I needed a route to verify the user who has used email password using a verification code sent on their email. So I updated the user model and added that route too.

Next thing was I added those routes to my openApi docs and also I updated my readme.md and other mds in root docs/ folder.

One more thing is left in this project is to have separate analytics routes for separate modules like clients analytics, products analytics then main dashboard analytics.

I will make them once a get a jump on front end since I’m laking behind there

0
0
4
Open comments for this post

9h 54m 11s logged

Devlog #2

Made auth pages - login, signin, forgot-password, reset-password and with backend request too for email password only rn not for google auth

I have used zod + react-hook-form for all forms

Also made home page for dashboard where all the businesses of the user will be listed with create business form and also made invoices and clients table .

Used shadcn a whole lot. Idk why i made invoices table as flow should be auth -> business -> create business -> client, create client -> product, create product -> invoice, create invoice -> payment, create payment -> analytics (/dashboard)

I haven’t committed things after auth pages yet because its too messy rn. I always get distracted to different pages in frontend

0
0
7
Open comments for this post

3h 31m 59s logged

Devlog - 07

Since its a Backend API so I needed to create a api endpoints docs to showcase the project to other people as some UI helps in showcasing

I used scalar and openAPI docs for my project, It took me some time to understand what to do but I was finally able to do it

And then during deployment I made an error of putting some dependencies into dev dependencies as they were prefixed with @.

Finally was able to get my docker deployment working

0
0
4
Open comments for this post

28m 59s logged

Devlog - 01

I started work on my the frontend part of the business management dashboard.

Since I’m very familiar with NextJS , so I will be using that for the frontend and you may ask why not use it as fullstack.

The reason I’m not using nextjs as fullstack is because I wanted to learn in depth backend using express and nextjs abstracts many topics.

I have installed shadcn on the project too and was stuck on a bug while installing it. As when installing shadcn I suffixed it with a dot thinking it will install in the same directory but was getting an error pnpm dlx shadcn@latest init . Removing the dot fixed it

0
0
2
Ship Changes requested

**What did you make?**
I built an open-source business management platform backend with authentication, Google OAuth, workspaces, clients, products/services, invoices, payments, analytics, PDF invoice generation, email delivery, and Docker support.

**What was challenging?**
Building a scalable architecture, writing integration tests, handling workspace permissions, debugging file uploads, and getting Puppeteer PDF generation working reliably in Docker.

**What are you proud of?**
The complete business workflow, clean architecture, Dockerized deployment, and 39+ integration tests that help ensure reliability.

**How can people test it?**
Docker setup and environment configuration are included. They can directly docker compose or run using bun or npm

  • 6 devlogs
  • 23h
Try project → See source code →
Open comments for this post

28m 53s logged

Devlog -6

Added a analytics endpoint and its time to end the backend project and move on to the frontend of the project.

If issues come up designing the frontend, will have to comeback to fix it.

Till then i have deployed it with docker on railway.com

0
0
3
Open comments for this post

1h 47m 59s logged

Devlog - 05

After adding tests, I decided to dockerize the project. But i was using puppeteer and it causes some issues in docker so i changed it to puppeteer-core and add install commands for chromium separately in docker file.

I made everything work after some brutal hours of debugging and fixing and learning as this is my first time working with docker

0
0
3
Open comments for this post

9h 59m 9s logged

Devlog 4 - Backend Testing Marathon 🧪

Spent few days building out integration tests for my Express + TypeScript backend.

Added test coverage for:

  • User registration & login
  • Refresh token flow
  • Forgot/reset password
  • Clients
  • Products (including file uploads)
  • Invoices & payments
  • Workspace/business authorization

Also set up:

  • MongoDB Memory Server for isolated test databases
  • Factories for generating users, businesses, invoices, products, etc.
  • Mocks for Cloudinary, Resend, and bcrypt

Ran into a pretty annoying EPIPE error while testing multipart file uploads. After a lot of debugging, I tracked it down to file stream handling in tests. Switching upload tests to use Buffers instead of fixture files made the suite stable again.

Current stats:

  • 39 tests
  • 15 test files
  • Full integration test suite passing ✅
0
0
2

Followers

Loading…