svelte-star-wars Svelte Themes

Svelte Star Wars

A simple svelte app that uses the Star Wars API to show a random planet name.

Svelte Star Wars

This site simply pulls a random planet from the (Star Wars API)[https://swapi.dev]

Getting Started

Prerequisites

Make sure you have Node.js and yarn installed on your machine.

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/jmidd2/svelte-star-wars.git
    
  2. Navigate to the project directory:

    cd svelte-star-wars
    
  3. Install dependencies:

    yarn install
    

Running the App

To run the app locally, use the following command:

yarn run dev

The app will be accessible at http://localhost:5173.

Usage

  1. Select the source and destination directories.
  2. Customize additional options such as excluding certain files or directories.
  3. The generated rsync command will be displayed, ready for you to copy and use.
  4. You can modify the options or extend the functionality as needed for your project.

Deployment

To build the app for production, use the following command:

yarn run build

This will generate optimized files in the `public` directory, which you can deploy

Top categories

Loading Svelte Themes