simple-to-do-app Svelte Themes

Simple To Do App

This project is a simple yet effective way to delve into the worlds of both Svelte and Golang. While this app may not be intended for real-world use, it serves as an excellent learning exercise to grasp the fundamentals of both technologies.

Simple-to-do-app

šŸ“‹ This project is a simple yet effective way to delve into the worlds of both Svelte and Golang. While this app may not be intended for real-world use, it serves as an excellent learning exercise to grasp the fundamentals of both technologies.

Installation

šŸš€ Get the app up and running in no time with these simple steps.

Backend

  1. Clone the repository, install dependencies and run the server:
    git clone https://github.com/diale13/simple-todo-app.git
    cd simple-todo-app/backend
    go mod tidy
    go run .
    

    Frontend

    cd ../frontend
    npm i
    yarn dev
    

Usage

šŸ“ Start managing your to-do list effortlessly with this app.

  • Open your web browser and go to http://localhost:5173 to access the app.
  • Use the "Tasks" component to create, edit, and delete your to-do items.
  • Stay organized and productive!

Structure

šŸ“ This project is organized into two main folders: backend and frontend. backend: Contains the API that handles CRUD requests and stores information in a simple .json file. frontend: Houses two components:

  • task: This component handles individual tasks.
  • tasks: The main component for managing your to-do list.

Docker Compose

šŸ³ If you prefer using Docker Compose, follow these steps to deploy the app.

Make sure you have Docker and Docker Compose installed on your system.

From the project's root directory, where the docker-compose.yml file is located, run the following command:

docker-compose up

Wait for the containers to start, and then access the app at http://localhost:5173.

That's it! You're now ready to start using the Simple To-Do App with Docker Compose.

Enjoy staying organized and productive! šŸ˜„šŸ“…

Top categories

Loading Svelte Themes