Coder Social home page Coder Social logo

realvictorprm / daml-online-shop-example Goto Github PK

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

Fun demo application implementing an online shop which gurantees that stuff in your basket is reserved and exists (this is all wip, please ignore my ugly code).

License: MIT License

Shell 1.23% Scala 25.88% Haskell 10.61% HTML 3.89% TypeScript 45.26% CSS 1.08% JavaScript 1.77% F# 10.29%

daml-online-shop-example's Introduction

Welcome to the Daml Online Shop example!

Getting started

To run the app do:

  1. Regenerate the bindings via exec/regenerateBindings
  2. Start the sandbox via exec/startSandbox
  3. Start the background task via application/exec/start
  4. Download the deps, build & start the UI via this single command ui/exec/quickstart

In the last step a browser window should have opened with the online shop being displayed. Have fun!

Development

If you change the daml code make sure to:

  1. Regenerate the bindings via exec/regenerateBindings
  2. Reinstall the ui dependencies as the hash of the daml package changed (just stop the ui and run ui/exec/quickstart)
  3. Restart the sandbox via pressing r in the terminal it's open or completely restarting it
  4. Restarting the background task (stop it and then start it again via application/exec/start)

daml-online-shop-example's People

Contributors

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