Skip to content

rishiosaur/idyllic-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✅ Todo-Idyllic

An example web service implemented in the Idyllic Language.

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:

$ 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.

About

✅ An example web service that uses Idyllic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published