Coder Social home page Coder Social logo

ghosthamlet / sulolive Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eponai/sulolive

0.0 2.0 0.0 24.15 MB

SULO Live online marketplace. See DEMO on

Home Page: http://sulo-demo.us-east-1.elasticbeanstalk.com/

License: MIT License

Shell 0.49% JavaScript 25.90% Clojure 56.14% HTML 1.01% CSS 16.22% Python 0.06% Java 0.04% Objective-C 0.14%

sulolive's Introduction

Sulolive

The live marketplace online - A product built to make shopping online more interactive by combining live streaming with small business e-commerce.

Please excuse the mess. We're working here ๐Ÿ‘ทโ€โ™€๏ธ

We've made the repository public, but we're still working on this README and the wiki.

CircleCI: CircleCI

Live demo

http://sulo-demo.us-east-1.elasticbeanstalk.com

The demo includes the full web application for both visitors and logged in users. We are using an in-memory database, so you are welcome to play around and make any changes you want.

A few things to consider:

  • Database: Since the demo can be used by anyone, expect changes you make to stick around for a while. We might reset the demo sometimes, but we don't have a schedule for that.
  • Login: In the code you'll see our implementation a passwordless login flow using Auth0. We're bypassing that flow in the demo to let anyone login and see the shop owner's UI.
  • Payments: Stripe was integrated as the payment service. We use our own fake version of Stripe in this demo, so any functionality involving payments might not behave as expected (you'll not be charged money at any point).
  • Live streaming: To save on costs, we had to shut down our streaming server. You'll see an animated example video in place of the streams.
  • Photo uploads: Again to save costs, we are on a free tier with our photo storage service and have a limit on uploading photos. Expect any photo uploads to not work properly.

Rationale - Why open source the whole product

When learning Clojure, it was useful to look at CircleCI's open sourced frontend, just to see how a real project can be structured, which problems they need to solve and how they compose libraries as well as hacks to make things work. As our startup isn't running anymore, we hope that our code can be helpful to someone - just as CircleCI's code was helpful to us. The entire frontend and server is available as well as a skeleton for a react-native app. We've even included all the scripts we used to deploy the product, so you can even take a look at them.

Project buzzwords

  • Fullstack om.next
    • Web, Mobile and Server
  • Datomic and Datascript with a unified API
  • Server side rendering
  • Fullstack testing
  • Client and Server code reloading on code change

Lessons learned

We've described our experience working with an om.next, datascript and datomic architecture in the github wiki. The pages contain ideas, problems and solutions that we've had to figure out, and we've included links and code example where it made sense to us.

We'll start with the more general stuff that might help you in your next project:

Om.next tricks

Random stuff

Installation

  • Clone this project git clone [email protected]:eponai/sulolive.git
  • Navigate to the cloned sulolive/ folder cd sulolive

Usage

Server

  • Start server repl: lein repl ** Initialize local server: eponai.repl=> (start-server)

Client

Web

  • Start web client repl: rlwrap lein figwheel-web
  • Open Browser and navigate to: localhost:3000

sulolive's People

Contributors

dianagr avatar dnegma avatar petterik 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.