Skip to content

PeriodGamingYT/todo-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a basic server in Go that holds a to do list, as well as an inventory.
If you are on Linux, go into a terminal and type in "make" or "go run ." (They do the same thing).
If you are on Windows, use go run to start it.
If it can't find the file "password.txt", it the server will stop and error out.
If you can't tell by the password file and the unencrypted data file, security is not of top concern. 
About security, it uses the HTTP protocol to communicate, but you can go to something like letsencrypt.info and modify this
server to use that if you so wish.

So, if you are going to store sensitive information on there, it's best advised you don't.
The password is there to control access to the server from the client side.
The reason this is is because a server instance is meant to only be used by a few people per instance.
I hope you find this software useful to you!
Thanks, ElkElan.

-- Technical Details
The server uses the HTTP protocol to communicate with clients.
The server is designed to have on and off, non-continuous communication in mind.
The client will send batches of changes they have made.
The server will send the client the whole to do list, no matter how much actually changed.
Each time a request like this happens, they always have to send the password along with their changes, as per the on/off communication.
The designed client/app this is designed to communicate to is https://github.com/PeriodGamingYT/todo-client.
They communicate in JSON.
TODO: More details here once implementation comes around.

About

A server that holds a TODO and inventory list

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published