Skip to content

js-2507/Java_todo_for_LAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java To-Do List Service for LAN

A modern Java + Spring Boot + JavaScript To-Do List application featuring priority sorting and a RESTful API.

Screenshot from use on a computer:
todolist-pc-screenshot

Features

  • Priority Sorting: Tasks are marked as High, Medium, or Low and are automatically sorted by priority.
  • REST API: Backend built with Java 25 and Spring Boot.
  • Modern UI: Clean interface using Bootstrap and JavaScript Fetch API.
  • Persistent: Uses H2 file-based database which stores files safely to remain intact after updates.

Server Deployment

  1. Clone the repo on your local machine

  2. Package the project into an executable .jar file: mvn clean package (will appear in /target/)

  3. Using SSH, WinSCP, FileZilla or any other service, get into your server

  4. Create a directory for the app (e.g. todolist-app)

  5. Transfer the .jar file into that directory

  6. Create a service file so the service restarts in case of a server reboot or crash: sudo nano /etc/systemd/system/todo.service

  7. Copy and paste this into the file: (change the User and Working Directory as needed)
    [Unit]
    Description=Java Todo List Service
    After=network.target

    [Service]
    User=ubuntu
    WorkingDirectory=/home/ubuntu
    ExecStart=/usr/bin/java -jar /home/ubuntu/todo-list-0.0.1-SNAPSHOT.jar
    SuccessExitStatus=143
    Restart=always
    RestartSec=10

    [Install]
    WantedBy=multi-user.target

  8. Start/manage the service:
    sudo systemctl daemon-reload
    sudo systemctl enable todo.service
    sudo systemctl start todo.service

  9. Finished!

About

A simple To-Do List service for your LAN

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors