This project is a simple authentication demo built with Svelte. It demonstrates basic user authentication flows, including sign-up, login, and token validation. The app is designed to showcase Svelte's capabilities in managing state, handling forms, and implementing routing.
To run this project locally, follow these steps:
Clone the repository:
git clone https://github.com/aydinkocasu/ak-svelte-web-app.git
cd ak-svelte-web-app
Install dependencies::
npm install
Run the development server:
```bash npm run dev
Open the app in your browser:
Visit http://localhost:5173 to see the app in action.
Project Structure
.
├── index.html
├── LICENSE
├── package.json
├── package-lock.json
├── public
│ └── vite.svg
├── README.md
├── src/
│ ├── app.css
│ ├── App.svelte
│ ├── assets/ # Images and other assets
│ ├── components/ # Svelte components
│ ├── main.ts # Entry point
│ ├── pages/ # Svelte pages for routing
│ ├── router.ts # Routing setup
│ ├── stores/ # Svelte stores for state management
│ ├── utils/ # Utility functions
│ └── vite-env.d.ts
├── svelte.config.js # Svelte configuration
├── tsconfig.json # TypeScript configuration
├── tsconfig.node.json # TypeScript configuration for Node.js
└── vite.config.ts # Vite configuration