This project is a minimalist blog application developed using SvelteKit and Tailwind CSS. Pocketbase is used as the database.
Clone the Project:
git clone https://github.com/queaxtra/blog-app.git
cd blog-app
Install Dependencies:
bun install
Set Up Pocketbase:
./pocketbase serve
Create a .env File:
.env
file in the project root directory and add the Pocketbase URL:VITE_APP_POCKETBASE=http://localhost:8090
Set Up the Database:
posts
collection and add the necessary fields (title, content, author, tag, created).Start the Development Server:
bun run dev
View in Browser:
http://localhost:5173
in your browser.src/routes
: Contains SvelteKit routes.src/lib
: Contains helper functions and Pocketbase connection.src/app.css
: For Tailwind CSS and custom styles.db.ts
: For Pocketbase connection and database operations.git checkout -b new-feature
git commit -am 'Added new feature'
git push origin new-feature
This project is licensed under the MIT License. See the LICENSE
file for more information.