Berikai / svelte-blog-website

Svelte blog website project, made with ❤️ by Berikai.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blog Website

Full stack blog project, made with ❤️ by Berikai.

You can have a look at the structure idea.

Technologies

I've used a folder structured json based data storage approach as database. Click to learn more.

I guess I changed my mind. I will use just a simple json based database at least in development for now.

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

.env

Create an .env file to make the blog work properly.

PUBLIC_HEADER_TITLE="Berikai's Blog"
PUBLIC_HEADER_SUBTITLE="Software Tech & Bass Music"
PUBLIC_HTML_HEAD_TITLE="Berikai's Blog | Powered by SvelteKit"
PUBLIC_TWITTER="verdantbass"

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

Production

To run the production build of your app:

node build

About

Svelte blog website project, made with ❤️ by Berikai.

License:MIT License


Languages

Language:HTML 60.7%Language:Svelte 28.9%Language:TypeScript 7.4%Language:JavaScript 2.4%Language:Shell 0.4%Language:CSS 0.3%