Getting Started
The Louvelle Admin Application (referred to throughout this documentation as ‘Admin’) is a React application written in Typescript, built on top of the Remix framework, connected to a postgres database through the Drizzle ORM.
The Mobile Client Application (referred to as the ‘App’) is a React-Native Expo application connected to the backend through a standard API.
Local Development (Admin)
Section titled “Local Development (Admin)”Before you can successfully create the local project, you’ll need copies of the seed.config.ts and .env files.
You’ll also need Docker Desktop and PNPM. After installation, follow these steps:
- clone the github repo
cdinto the project directory- install dependencies with
pnpm install - move the
.envandseed.config.tsfiles into the project root - start the docker services with
docker-compose up -d - initialize the database with
NODE_ENV=local npx drizzle-kit migrate --config=drizzle/config/local.ts - seed the database with
pnpm db:seed:local.
If these steps all succeed, you should see 🌱 Database has been seeded in your console.
Now run the admin stack with pnpm local. By default the application runs on port 5173
Your login credentials can be found in the seed.config.ts file.
Inspecting The Database
Section titled “Inspecting The Database”It can be helpful to use a database IDE like DataGrip or dBeaver to view the database tables.
The username and password are both postgres by default.