Skip to content
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.

rasjonell-zz/zuck_life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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