Coder Social home page Coder Social logo

maweituo's Introduction

maweituo

Classified advertisements web application with recommendation system

Technical stack

  • Scala 2.13 with cats-effect
  • ScyllaDB as primary database
  • Clickhouse as recommendation system database
  • minio
  • svelte-kit

Build & Deploy

Application can only be run using docker-compose (local builds are not supported).

Databases have to be configured prior to application being able to be launched:

docker-compose -f deploy/it.docker-compose.yml up 
./scripts/prepare-it.sh
docker-compose -f deploy/it.docker-compose.yml down

To run whole application:

./scripts/build-dockers.sh 
docker-compose -f deploy/docker-compose.yml up 

For testing it may be benefitial to make test database and bootstrap recommendation system:

./build-dockers.sh
docker-compose -f deploy/it.docker-compose.yml up -d 
./scripts/prepare-it.sh
./scripts/test-populate.py
docker-compose -f deploy/it.docker-compose.yml down 
grpcurl -plaintext -import-path proto -proto proto/rec.proto -d '{}' 'localhost:11223' com.holodome.proto.RecommendationService/learn
docker-compose -f deploy/docker-compose.yml up -d 

maweituo's People

Contributors

holodome avatar

Watchers

 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.