Welcome to the SvelteKit Trivia App! This project showcases my skills in frontend development using SvelteKit, a modern framework for building fast and scalable web applications.
Check the live version here
- Interactive trivia game with multiple categories
- Responsive design for optimal user experience on all devices
- State management using Svelte stores
- API integration to fetch trivia questions
- SvelteKit: Framework for building web applications
- TypeScript: Programming language used for development
- Tailwind CSS: Utility-first CSS framework for styling
- ESLint: Linting tool for code quality
- Prettier: Code formatter
To get started with the project, follow these steps:
-
Clone and navigate to the project directory:
git clone https://github.com/tugcanonbas/sveltekit-trivia-app.git cd sveltekit-trivia-app
-
Set the adapter to
node
insvelte.config.js
:import adapter from '@sveltejs/adapter-node';
-
Update the dependencies in
package.json
:"devDependencies": { "@sveltejs/adapter-node": "^5.0.1", "@sveltejs/kit": "^2.0.0", }
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
-
Build for production:
npm run build
-
Run the production build:
npm run preview
Once the development server is running, you can access the app at http://localhost:4173
. Navigate through different categories and difficulty levels to play the trivia game.
Can Güner: My friend who helped me to design the app and gave feedbacks. You can check his LinkedIn profile.
Contributions are welcome! If you have any suggestions or improvements, please create an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.