Coder Social home page Coder Social logo

hormcodes / socialclusters Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 3.72 MB

Bachelor thesis web app for social media content aggregation and analysation.

License: MIT License

HTML 0.64% CSS 0.14% JavaScript 34.92% Python 13.76% Kotlin 49.57% Dockerfile 0.64% Shell 0.21% Java 0.12%
social-network-analysis react spring kotlin javascript python support-vector-machines

socialclusters's Introduction

SocialClusters

Web app for social media content aggregation and analysation.

Tools

  • Docker
  • Node
  • JDK 1.8
  • Python 3.6

Recommended Tools

  • Intellij IDEA
  • Postman
  • Google Chrome Dev Tools

Project structure

  • .circleci - CI/CD Configuration
  • backend - Backend
  • docker - Container Configuration
  • fronted - Frontend
  • job_scheduler - Job Configuration
  • nginx - Request Proxy Configuration
  • platfrom_api_service - Platform API Service
  • topic_analysis_sevice - Topic Analysis Service

Configuration

  1. Edit file platform_api_service/config.json for adding your API keys.
  2. In directory topic_analysis_service/makjka add dictionaries for word lemma converter called Majka with format x.lt where x is ISO language code, e.g. cs
  3. (For production deploy) In a file nginx/conf.d change domain example.com to your own.

Setup

Production

Repository contains a production setup script setup.sh or you can execute these commands:

cd docker
docker-compose up -d

cd ../backend
./gradlew clean
./gradlew bootJar

docker build --no-cache -t socialclusters/backend .

cd ../topic_analysis_service
docker build --no-cache -t socialclusters/topic_analysis_service .


cd ../platform_api_service
docker build --no-cache -t socialclusters/platform_api_service .

cd ../frontend
docker build --no-cache -t socialclusters/frontend .

cd ../nginx
docker build --no-cache -t socialclusters/nginx .

cd ../docker
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d


Development

You have tu setup docker containers for Mongo and Postgres Databases...

cd docker
docker-compose up -d

Backend

cd backend
./gradlew build

Frontend

cd frontend
npm install
npm start
# For backend execute setup.sh from root directory (after npm start)

Internal Services

Platform API Service and Topic Analysis Service has same setup:

cd service_directory
pip3 install -r requirements.txt
python3 src/server.py

License & Credits

Created by Matěj Horák. This project was originally part of a bachelor's thesis with supervision by Ing. Radek Burget, Ph.D. Now, the project is independent and this commit is last one from bachelor's thesis.

Project is under MIT license

socialclusters's People

Contributors

hormcodes avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

socialclusters's Issues

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.