Skip to content

Helps you to split your task into peices of cake!

License

Notifications You must be signed in to change notification settings

chinhung/cakeserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cake Server

License: MIT

It is not a web server but a web app helps you to split your task into peices of cake!

(Photo by Toa Heftiba on Unsplash)

Getting Started

GitHub Pages: https://chinhung.github.io/cakeserver/

Introduction

Writing commit messages before starting to code.

- Git Essentials

Cake Server is inspried by the book Git Essentials. It is a best practice in programming that we could write down the commit messages before we start to code. By doing such kind of prior preparation, one could focus on what matters during the coding session. Besides, splitting a task into several meaningful subtasks helps you to organize your working hours.

Cake Server helps you to split a task into several meaningful commits, the following functionalities are supported:

  • New Commit
  • Update
  • Redo
  • Copy Commit Message
  • Delete

Cake Server uses localStorage to store the data.

How to Use

New Commit

One could click the "New Commit" button in the sidebar to create a new commit. After entering the commit message and note, please click the "Save" button to save the commit and which would be present in the "Commits" section in the sidebar.

Update

By clicking a particular commit in the "Commits" section in the sidebar, one could edit the commit message and note of that commit. Once you have done, please click the "Save" button to save the commit or the update would lose.

Redo

One could click the "Redo" button if he/she wants to cancel the update before clicking the "Save" button.

Copy Commit Message

The commit message would be copied into your clipboard when you click the "Copy Commit Message" buttoon.

Delete

Once you have submitted the commit, you could delete the commit data on Cake Server by clicking the "Delete" button. Notice that there is no way to restore the deleted commit before the trash functionality is supported.

Design Concepts

  • Separate the UI components and the data layer
    • the two parts are binded together by operationFunctions
  • Dependency injections implemented by currying technique
    • createOperations, loadCommits, saveCommit, deleteCommit
  • Adapt functions by currying technique
    • isNewCommit

Todo

  • Fix sidebar display when device width is lower than 990px
  • Add multi line support for commit message
  • Add project functionality
  • Add trash functionality
  • Add offline support by implementing a Progressive Web App
  • Make revisions to the UI style

About

Helps you to split your task into peices of cake!

Topics

Resources

License

Stars

Watchers

Forks