Welcome to the SvelteKit Persons project! This web application is built using SvelteKit and demonstrates dynamic content handling, API integration, and routing features.
Ensure you have the following installed:
git clone [email protected]:asthabonik/sveltekit-persons.git
cd sveltekit-persons
npm install
Create a .env
file and add the necessary environment variables:
PUBLIC_API_ENDPOINT=https://your-api-endpoint.com
npm run dev
Your application will be accessible at http://localhost:5173/
by default.
sveltekit-persons/
āāā src/
ā āāā lib/ # Shared components and utilities
ā āāā routes/ # Application routes and pages
ā āāā app.html # Main HTML template
ā āāā ... # Other SvelteKit-specific files
āāā static/ # Static assets (images, fonts, etc.)
āāā package.json # Project dependencies and scripts
āāā svelte.config.js # SvelteKit configuration
āāā README.md # This file
npm run dev
: Start the development server.npm run build
: Build the project for production.npm run preview
: Preview the production build locally.npm run lint
: Lint the codebase for errors and style issues.The backend API for this project is hosted separately. You can check out the backend source code here:
š Backend GitHub Repository
We welcome contributions! Follow these steps to contribute:
git checkout -b feature-branch
git commit -m "Added a new feature"
git push origin feature-branch
This project is licensed under the MIT License. See the LICENSE file for details.
If you have any questions or feedback, feel free to reach out:
Thank you for checking out the SvelteKit Persons project! š