No description
Find a file
Alexander Anisimov 8eb82043c4 update readme
2025-08-31 18:30:11 +03:00
apps feat(app): add unsaved changes 2025-04-13 15:01:21 +03:00
deployments/docker-compose first commit 2025-02-06 18:56:25 +03:00
packages first commit 2025-02-06 18:56:25 +03:00
scripts first commit 2025-02-06 18:56:25 +03:00
tooling first commit 2025-02-06 18:56:25 +03:00
turbo/generators first commit 2025-02-06 18:56:25 +03:00
.dockerignore first commit 2025-02-06 18:56:25 +03:00
.env.example first commit 2025-02-06 18:56:25 +03:00
.gitignore first commit 2025-02-06 18:56:25 +03:00
LICENSE first commit 2025-02-06 18:56:25 +03:00
package.json first commit 2025-02-06 18:56:25 +03:00
pnpm-lock.yaml feat(app): add unsaved changes 2025-04-13 15:01:21 +03:00
pnpm-workspace.yaml first commit 2025-02-06 18:56:25 +03:00
README.md update readme 2025-08-31 18:30:11 +03:00
turbo.json first commit 2025-02-06 18:56:25 +03:00

nft-marketplace

About

This project bases on create-t3-turbo template

It uses Turborepo and contains:

.github
  └─ workflows
        └─ CI with pnpm cache setup
.vscode
  └─ Recommended extensions and settings for VSCode users
apps
  ├─ admin-bot
  |   ├─ Telegraf
  |   ├─ Backend calls using @trpc/client
  |   └─ DI using tsyringe
  ├─ user-bot
  |   └─ Also Telegraf
  └─ next.js
      ├─ Next.js 15
      ├─ React 19
      ├─ Tailwind CSS
      └─ FSD inspired design
packages
  ├─ api
  |   ├─ tRPC v11 router definition
  |   └─ Separated onion architecture backend
  ├─ auth
  |   └─ Authentication for server and client side
  ├─ db
  |   └─ Typesafe db schema using drizzle
  └─ ui
      └─ Usiversal components from shadcn & custom
tooling
  ├─ eslint
  |   └─ shared, fine-grained, eslint presets
  ├─ prettier
  |   └─ shared prettier configuration
  ├─ tailwind
  |   └─ shared tailwind configuration
  └─ typescript
      └─ shared tsconfig you can extend from

In this template, we use @acme as a placeholder for package names. As a user, you might want to replace it with your own organization or project name. You can use find-and-replace to change all the instances of @acme to something like @my-company or @project-name.

Quick Start

Note

The db package is preconfigured to use Supabase and is edge-bound with the Vercel Postgres driver. If you're using something else, make the necessary modifications to the schema as well as the client and the drizzle config. If you want to switch to non-edge database driver, remove export const runtime = "edge"; from all pages and api routes.

To get it running, follow the steps below:

1. Setup dependencies

# Install dependencies
pnpm i

# Configure environment variables
# There is an `.env.example` in the root directory you can use for reference
cp .env.example .env

# Push the Drizzle schema to the database
pnpm db:push

Deployment

Next.js

Prerequisites

Note

Please note that the Next.js application with tRPC must be deployed in order for the Expo app to communicate with the server in a production environment.

Self-deploy using docker-compose

# this runs docker-compose
pnpm run infra:up