GithubHelp home page GithubHelp logo

luca-apostoli / comuni-italiani Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 365 KB

Simple Servant-To-Elm project

Home Page: https://d3cxrcm859v8on.cloudfront.net/index.html

License: GNU General Public License v3.0

Haskell 30.29% HTML 4.54% Elm 44.00% JavaScript 15.12% CSS 6.06%
servant elm servant-elm

comuni-italiani's Introduction

Comuni Italiani Search

This is a test project to explore Servant and Servant To Elm conversion. It is composed of 3 parts:

  1. The Servant Server that expose a very basic API
  2. An Elm client that query the API
  3. A generator command, that converts the API Servant Types into the Elm client Types

How To Use It

To run the server, from the root of the project: stack run comuni-italiani-exe [You need stack to run this]

To run the client, from the elm-client/comuni-client: elm-app start [You need elm to run this]

How to generate the client Types

From the root of the project: stack run comuni-italiani-code-gen

This will generate the client in the src/Generated folder.

comuni-italiani's People

Contributors

luca-apostoli avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.