A fullstack starter template featuring:
libpqfullstack-template/
โโโ client/ # Svelte frontend
โโโ server/ # Crow backend (C++)
โโโ README.md
git clone https://github.com/yourusername/fullstack-template.git
cd fullstack-template
cd client
npm install
npm run dev
This will run the frontend at: http://localhost:5173
cd ../server
mkdir build && cd build
cmake ..
cmake --build .
./crow-template
The backend will run at: http://localhost:2000
.env file inside server/PG_HOST=localhost
PG_PORT=5432
PG_DB=kanbique
PG_USER=postgres
PG_PASSWORD=yourpassword
curl http://localhost:2000/api/hello
Expected output:
{ "message": "Hello from Crow!" }
cd client
npm run build
cd ../server/build
cmake --build . --config Release
You can configure Crow to serve the frontend static files from client/dist.