A simple svelte webapp to schedule tasks between people during time
link to the site: https://task-scheduler-x.herokuapp.com/
This project is my first approach to Svelte.js. I caught the chance to make a site to schedule tasks in a group of people during a chosen number of weeks. The project shows a default set of data, which can be customized by changing the src/content.json file.
Set the src/content.json.
These are the properties:
This is my example:
{
"persons": ["MARIO", "JOHN", "MOHAMMED", "CHENG"],
"tasks": ["Kitchen", "Bathroom", "Bedroom", "Trash"],
"from": "2019-07-29",
"howMany": 30
}
To deploy:
npm i
to install the dependenciesnpm run deploy
to compile the site and make an hash code of the public directorynpm run serve:local
to lunch the local serverThe project was made with Svelte.js, a performant light-weight alternative to frameworks like Angular, React and Vue. The site is served by a node.js server and is also a PWA. The hasher script in the package.json hashes the public directory and adds it to the cache name of the service-worker. Following the Svelte.js tenets, I used rollup instead of webpack. The site is hosted with Heroku.
Even tough the site is extremly simple, with the google audits is possible seeing the performance of Svelte.js. A part from the not used http/v2 due to heroku (not cheap) support, the audit's parameters are almost perfect (at least at the time of this commit).