Skip to content

rishiosaur/idyllic-todo

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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