3douhao / zuck_life

Social Media On Graphs

Home Page:https://youtu.be/VTXIL-fmSxY

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zuck Life

This Project demonstrates how to use "The Foxx Way" architectural pattern to build a social media app on graphs.

For more information you can:

Project Architecture

Architecture

Project Structure

├── README.md
├── frontend  ( React         - Javascript )
├── API       ( Express/Proxy - Typescript )
└── services  ( Foxx          - Typescript )
    |
    ├── auth  ( Sessions logic, User creation )
    ├── posts ( Posts, comments, ratings      )
    └── user  ( Followings, timelines, etc.   )

Running The App

  • Install the dependencies:

    ./install_packages.sh
  • Run arangodb with a specified config file

    arangod -c <PATH-TO-CONFIG>/arangod.conf

    (note: you need to have --http.trusted-origin * option for your services to be able to send credentials via the reverse-proxy)

  • Run each service:

    • Frontend - yarn start
    • API - npm run watch
    • Services
      • {Auth,User,Posts} - npm run install:service

About

Social Media On Graphs

https://youtu.be/VTXIL-fmSxY


Languages

Language:TypeScript 45.9%Language:JavaScript 45.3%Language:CSS 5.1%Language:HTML 2.9%Language:Shell 0.7%