task-manager-astro-svelte Svelte Themes

Task Manager Astro Svelte

My educational task manager project built with Astro + Svelte

Task manager based on Astro + Svelte

This is a simple task manager built with Astro and Svelte.

Local development

To run the project locally, you need to have Node.js installed.

  1. Clone the repository

  2. Optionally, you can adjust integration with OpenAI, by creating a .env file in the root of the project with the following content:

    OPENAI_API_KEY=your_api_key
    

    If you don't have an API key, you can get one by signing up at OpenAI. This step is optional, you can skip it if you don't want to use the OpenAI integration.

  3. Prepare the project:

    npm run setup
    
  4. Start the development server:

    npm run preview
    

    On this step you may be prompted to log in to Vercel, this is needed to run local preview mode with SSR. If you don't have an account, you can create one for free. Otherwise, you can skip this step by pressing Ctrl + C and run the following command:

     npm run dev
    

    Which is regular Astro dev mode.

  5. Open the browser and navigate to http://localhost:4321/

Top categories

Loading Svelte Themes