This is a personal project template for SvelteKit with PocketBase. (A personal favorite for quick side projects)
First, navigate to the backend directory
cd backend
Then, download the pocketbase executable from the releases page
wget https://github.com/pocketbase/pocketbase/releases/download/v0.22.18/pocketbase_0.22.18_darwin_arm64.zip
unzip pocketbase_0.22.18_darwin_arm64.zip
rm pocketbase_0.22.18_darwin_arm64.zip
./pocketbase serve
Then, navigate to the client directory
cd client
Install the dependencies
yarn install
Next, create a .env from the .sample.env
file
cp .sample.env .env
Finally, start the client
yarn dev