Skip to content

andrewbridge/rota-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rota generator

A rota generator that can take part-time and varied availability of several staff and produce a fair rota for a week.

View Rota Generator tool

Development

This tool is build step free, serve it in a browser with any HTTP server, but npm run serve is an included command.

To keep dependencies in one place, third party packages are loaded via modules/deps.mjs and exposed to the rest of the codebase by exporting as necessary.

Where possible, use an ESM compatible verison of the package, or even better don't load a third party package at all.

Vue components are kept withing modules/components. Because we include the parser, templates can be provided in a template property of the exported component, usually in a template literal string to allow for line breaks and static variable insertion.

We use goober to provide lightweight CSS-in-JS functionality, although we currently only use it to generate class names to attach a styles string to a unique class name.

We largely rely on Tabler for UI, which is a derivative of Bootstrap, refer to both framework's preview code and documentation.

About

Simple rota generator for part-time or varied availability

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors