Skip to content
/ db Public

The Nexirift Drizzle database configuration and schema.

License

Notifications You must be signed in to change notification settings

Nexirift/db

Repository files navigation

Database

This repository contains the Drizzle database configuration used for Nexirift's main projects.

Getting Started (Development)

Prerequisites

  • Node.js v22.13.0 or greater
  • Bun v1.2.2 or greater
  • Local NPM registry

For Database

  • Docker v27.5.1 or greater
  • Docker Compose v2.32.4 or greater

These prerequisites are based on the versions that we are using.

Local NPM Registry

Our internal packages are not hosted on the public NPM registry, such as @nexirift/db. To use our internal projects, you will need to set up a local NPM registry. During our testing, we noticed that Next.js and shadcn/ui don't like Bun's linked packages.

  1. Install Verdaccio: bun i -g verdaccio
  2. Start the Verdaccio server locally: verdaccio
  3. Create an account: bunx npm adduser --registry http://localhost:4873
    • Example: developer | P@ssw0rd | developer@nexirift.com
  4. Clone any @nexirift/* packages using Git
  5. Run bun publish on the cloned repositories

More information: https://verdaccio.org/docs/setup-bun

Installation

  1. Clone the repository: git clone https://github.com/Nexirift/db.git
  2. Install dependencies with bun install
  3. Start the database using bun db:start-dev
  4. Generate, migrate and open studio using bun db:all

Disclaimer

This software is currently in development and should not be used in production until the official Nexirift public release. By deploying this software in a production environment, you acknowledge and accept all associated risks. Please wait for production-ready status before implementation.

License

Nexirift's internal projects are licensed under the GNU General Public License v3.0.

About

The Nexirift Drizzle database configuration and schema.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published