Simple to-do app created using with Svelte and GraphQL.
Note that you will need to have Node.js installed.
Before excute client, Graqhql server is required. If not yet, check this.
npx postgraphile -c 'postgres://<user name>:<pass>@localhost/<database name>' --watch -p 5050 --cors
↑You need to set 'id' as primary key. Otherwise CRUD operation is not avairable.
Clone this repository...
Install the dependencies...
cd prj_svelte_graphql_todolist
npm install
...then start Rollup:
npm run dev
Navigate to localhost:5000. You should see your app running. Edit a component file in src
, save it, and reload the page to see your changes.