Full stack blog project, made with ❤️ by Berikai.
You can have a look at the structure idea.
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.
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
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"
To create a production version of your app:
npm run build
You can preview the production build with npm run preview
.
To run the production build of your app:
node build