/svelte-store

Developed using svelte

Primary LanguageSvelte

Svelte Store

License

Project Logo

Svelte Store is a Svelte application showcasing the implementation and usage of Svelte stores. Svelte stores are reactive stores that hold a piece of state that can be shared across components.

Demo GIF

Table of Contents

Features

  • 🚀 Lightweight and fast Svelte application.
  • 🔄 Demonstrates how to use Svelte stores to manage shared state.
  • 📦 Easy to set up and start experimenting with Svelte.

Installation

To run this application locally, make sure you have Node.js installed.

  1. Clone this repository to your local machine:
git clone https://github.com/JayCabasag/svelte-store.git
cd svelte-store
  1. Install the dependencies:
npm install
  1. Start the development server:
npm run dev

The application should now be running locally at http://localhost:5000.

Usage

Once the development server is running, open your web browser and navigate to http://localhost:5000 to view the application. Interact with the app and observe how Svelte stores manage and synchronize the shared state between components.

Feel free to explore the code in this repository to understand how the Svelte stores are implemented and utilized.

Contributing

Contributions are welcome! If you find any issues or want to enhance the project, follow these steps:

  1. Fork the repository.
  2. Create a new branch with a descriptive name (git checkout -b my-new-feature).
  3. Make your changes and commit them (git commit -m 'Add some feature').
  4. Push the changes to your forked repository (git push origin my-new-feature).
  5. Create a pull request explaining your changes and their benefits.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Please remember to replace the project_logo.png and demo.gif links with the actual URLs to the logo and demo (if available) in your repository. Also, update the repository link in the installation section with the correct link to your forked repository.