To install dependencies:
bun install
To run:
bun start
Dev mode:
bun dev
Go to front folder:
cd ./frotend/
To run:
bun start
Dev mode:
bun dev
Build(server need static files):
bun run build
Since I use local instance of Postgres, you'll need to setup DB connection in .env file (in the root directory):
DATABASE_URL='your_postgres_database_url'
If you change DB schemas. You'll need to generate, migrate and push schemas to DB:
bun drizzle-kit generate
bun drizzle-kit migrate
bun drizzle-kit push
#### Create post:
This project was created using bun init
in bun v1.2.0. Bun is a fast all-in-one JavaScript runtime.