Skip to content

Api, web application, created using monorepo, Next.js, Hono, DrizzleORM.

Notifications You must be signed in to change notification settings

skyline146/writle

Repository files navigation

Fullstack monorepo application: social network for publishing posts, adding friends. Scrolling feed, based on your choosen interests or friends posts.

Used technologies:

Getting Started (pnpm required)

Install dependencies (root folder):

pnpm install
or
bun install

Run in development mode:

pnpm run dev
or
bun run dev

This comand in the background will fire:

turbo run dev

In turbo.json:

"tasks": {
    "dev": {
      "cache": false
    }
  }

Starting applications in development mode separately:

  • Web: pnpm run dev:web
  • Api: pnpm run dev:api.

Open http://localhost:3000 with your browser to see the result. API: http://localhost:4000

Run in production mode:

pnpm run prod

This comand in the background will fire:

turbo run nextjs-frontend#start nestjs-backend#start:prod

In turbo.json:

"tasks": {
    "build": {
      "dependsOn": ["^build"],
      "outputs": [".next/**", "!.next/cache/**", "dist/*"]
    },
    "nextjs-frontend#start": {
      "dependsOn": ["build"]
    },
    "nestjs-backend#start:prod": {
      "dependsOn": ["build"]
    }
  }

outputs in build task conigured to cache results of building an application.

About

Api, web application, created using monorepo, Next.js, Hono, DrizzleORM.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages