From 93389813f84a5ae98e50a9bcc9db1e6620fd8153 Mon Sep 17 00:00:00 2001 From: SquidSpirit Date: Wed, 23 Jul 2025 04:55:27 +0800 Subject: [PATCH] BLOG-58 docs: update frontend framework from Next.js to SvelteKit in README --- README.md | 6 +++--- frontend-v2/README.md | 38 -------------------------------------- 2 files changed, 3 insertions(+), 41 deletions(-) delete mode 100644 frontend-v2/README.md diff --git a/README.md b/README.md index 093c3e0..f1b5422 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,12 @@ ## Development -- Frontend: Next.js +- Frontend: SvelteKit with Tailwind CSS - Backend: Rust actix-web -Despite Next.js being a full-stack framework, I still decided to adopt a separate front-end and back-end architecture for this blog project. I believe that this separation makes the project cleaner, reduces coupling, and aligns with modern development practices. Furthermore, I wanted to practice developing a purely back-end API. +Despite SvelteKit being a full-stack framework, I still decided to adopt a separate front-end and back-end architecture for this blog project. I believe that this separation makes the project cleaner, reduces coupling, and aligns with modern development practices. Furthermore, I wanted to practice developing a purely back-end API. -As for the more detailed development approach, I plan to use Clean Architecture for the overall structure and ATDD for testing. Of course, such a small project may not necessarily require such complex design patterns, but I want to give myself an opportunity to practice them. +As for the more detailed development approach, I plan to use Clean Architecture for the overall structure. Of course, such a small project may not necessarily require such complex design patterns, but I want to give myself an opportunity to practice them. These will allow me to become more proficient in these modern development practices and leave a lot of flexibility and room for adjustments in the future. diff --git a/frontend-v2/README.md b/frontend-v2/README.md deleted file mode 100644 index b5b2950..0000000 --- a/frontend-v2/README.md +++ /dev/null @@ -1,38 +0,0 @@ -# sv - -Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli). - -## Creating a project - -If you're seeing this, you've probably already done this step. Congrats! - -```bash -# create a new project in the current directory -npx sv create - -# create a new project in my-app -npx sv create my-app -``` - -## Developing - -Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: - -```bash -npm run dev - -# or start the server and open the app in a new browser tab -npm run dev -- --open -``` - -## Building - -To create a production version of your app: - -```bash -npm run build -``` - -You can preview the production build with `npm run preview`. - -> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.