This repository contains the Drizzle database configuration used for Nexirift's main projects.
- Node.js v22.13.0 or greater
- Bun v1.2.2 or greater
- Local NPM registry
- Docker v27.5.1 or greater
- Docker Compose v2.32.4 or greater
These prerequisites are based on the versions that we are using.
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.
- Install Verdaccio:
bun i -g verdaccio
- Start the Verdaccio server locally:
verdaccio
- Create an account:
bunx npm adduser --registry http://localhost:4873
- Example:
developer
|P@ssw0rd
|developer@nexirift.com
- Example:
- Clone any
@nexirift/*
packages using Git - Run
bun publish
on the cloned repositories
More information: https://verdaccio.org/docs/setup-bun
- Clone the repository:
git clone https://github.com/Nexirift/db.git
- Install dependencies with
bun install
- Start the database using
bun db:start-dev
- Generate, migrate and open studio using
bun db:all
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.
Nexirift's internal projects are licensed under the GNU General Public License v3.0.