Coder Social home page Coder Social logo

countdown-to's Introduction

countdown-to

Very early, experimental example integrating the Haskell graphql-api library and Elm. Data is stored in postgres to show integrating scotty, graphql-api and a database.

Instructions

Server

The build is managed by stack. I think that stack run might be a third-party thing, probably worth a search if it doesn't work for you.

cd server
stack run

Client

Elm & other node dev dependencies are managed by yarn. Due to the use of Elm's Navigation library, this is using elm-live for serving the client.

cd client
yarn
yarn start

Database

The database is postgres. Create a database with createdb countdown-to_dev. You should then be able to use the create_timers.sql script in the root to create the table. I used pgAdmin 4 on MacOS to generate that script, and Postico to load it in. I'm not a database admin, and haven't done backend in a long time, so YMMV.

countdown-to's People

Contributors

joefiorini avatar

Watchers

 avatar James Cloos 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.