Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peterdee/svelte-todo
A simple Todo-list with Svelte
https://github.com/peterdee/svelte-todo
heroku sveltejs todoapp
Last synced: 7 days ago
JSON representation
A simple Todo-list with Svelte
- Host: GitHub
- URL: https://github.com/peterdee/svelte-todo
- Owner: peterdee
- Created: 2020-01-06T14:00:25.000Z (about 5 years ago)
- Default Branch: stage
- Last Pushed: 2020-07-19T15:54:01.000Z (over 4 years ago)
- Last Synced: 2024-11-20T14:51:01.024Z (2 months ago)
- Topics: heroku, sveltejs, todoapp
- Language: JavaScript
- Homepage: https://svelte-todo.herokuapp.com/
- Size: 134 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## svelte-todo
[![Build Status](https://travis-ci.com/peterdee/svelte-todo.svg?branch=stage)](https://travis-ci.com/peterdee/svelte-todo)
[![Known Vulnerabilities](https://snyk.io/test/github/peterdee/svelte-todo/badge.svg?targetFile=package.json)](https://snyk.io/test/github/peterdee/svelte-todo?targetFile=package.json)
This is a simple Todo-list application, created with [Svelte](https://svelte.dev).
Project was created from a [Svelte application template](https://github.com/sveltejs/template) using [degit](https://github.com/Rich-Harris/degit).
Check [Google PageSpeed Insights](https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fsvelte-todo.herokuapp.com%2F&tab=desktop) for the performance information and bundle sizes.
### Deploy
- `git clone https://github.com/peterdee/svelte-todo`
- `cd ./svelte-todo`
- `nvm use 13.5` (please see the actual Node version in [package.json](package.json) file)
- `npm i` (use `npm i --prod` for stage / production)### Lanuch
**Development**:
- `npm run dev`
The app will be available at http://localhost:8080.
[Rollup](https://rollupjs.org) is used for bundling and hot reloading by default.
**Stage / production**:
- `npm run build`
This creates an optimized production build.
This build can then be served with an included Koa server:
- `npm run start`
The app will be available at http://localhost:8080.
### Testing
- `npm run test`
### Heroku deployment
The `stage` branch is deployed to [Heroku](https://herokuapp.com) automatically.
The app is available at https://svelte-todo.herokuapp.com.