A web application designed for wholesalers to manage product orders and invoicing.
- Frontend: SvelteKit, TailwindCSS, Flowbite
- Backend: PostgreSQL, DrizzleORM
- Authentication: Better-Auth
Make sure you have the following tools installed:
Run the docker-compose.yaml
docker compose up -d
To run this project, you will need to add the following environment variables to your .env file
DATABASE_URL
, BETTER_AUTH_SECRET
, BETTER_AUTH_URL
, MOCK_COUNT_PRODUCT
, MOCK_COUNT_ORDER
, MOCK_ACCOUNT_PASSWORD
Generate database tables
bun db:push
Generate mocks data
bun db:seed
Run Drizzle Studio so you can find an email from a new generate user to login.
bun db:studio
Run app
bun dev
You can now use an email and the default password from MOCK_ACCOUNT_PASSWORD
to login and browser the app