Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rishiosaur/idyllic-todo
✅ An example web service that uses Idyllic
https://github.com/rishiosaur/idyllic-todo
Last synced: 1 day ago
JSON representation
✅ An example web service that uses Idyllic
- Host: GitHub
- URL: https://github.com/rishiosaur/idyllic-todo
- Owner: rishiosaur
- Created: 2021-02-07T04:21:26.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-07T14:38:49.000Z (about 4 years ago)
- Last Synced: 2024-12-30T01:31:53.535Z (about 2 months ago)
- Language: TypeScript
- Size: 19.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ✅ Todo-Idyllic
An example web service implemented in [the Idyllic Language](https://github.com/rishiosaur/idyllic).
This repository holds a simple TODO REST API, and uses the compiler and web server included with the Idyllic repository.
## Routes
- GET / & GET /todos
- Returns an array of all TODOs in the database.
- POST /complete/{id}
- Toggles completion of a TODO
- POST /todos
- Adds a todo to the database.## Setup
This repository's pretty small (to be fair, so is the Idyllic runtime), so setup is just a few commands:
```bash
$ git clone https://github.com/rishiosaur/idyllic-todo.git
$ cd idyllic-todo
$ yarn
$ yarn run start
```After the first compilation, you can use `yarn run start:nocompile` to start up even faster.