More details information here.
Tech stacks:
Frontend | Backend |
---|---|
and Tanstack Router, Ky, Valibot |
and node-postgres, Valibot |
Your need to install PostgreSQL first using your OS's package manager, an installer file or using Docker (recommended).
Configure the host address, port number, username, password, a database according to .env.example
.
Copy the file .env.example
into .env.production.local
and .env.development.local
and edit the env variables' values.
Then use one of these commands to re-populate the database:
# If you're in development mode
npm run populate-db:dev
# If you're in production mode
npm run populate-db:prod
First, install all the dependencies:
npm i
To run the dev server:
npm run dev
To export and run the production build:
npm run build
npm run start