Sign inSign up

wongwils/magi-api

By wongwils

•Updated about 7 years ago

Image
0

195

wongwils/magi-api repository overview

⁠MAGI

This is a project for solving end to end mapping problems among applications.

⁠Quick Start

Whole application stack could be started by docker-compose. The stack would include following components:

  • Frontend SPA - built with React and hosted with Nginx
  • Backend API - built with NodeJS
  • Graph Database - supported by Neo4j
  • Reverse Proxy - Traefik for ingress the outbound traffic
⁠Prerequisite
  • Docker
⁠Steps
docker-compose up

⁠Individual Components

⁠Frontend

Frontend is in /web folder. It is created from the Create React App boiler plate and could be started in local by:

npm start

To start with docker

docker build -t magi-web .
docker run -p 3000:3000 magi-web
⁠Backend

Backend is in /api folder. It is built with nodeJS. To start the api, run

npm sart

To start with docker

docker build -t magi-api .
docker run -p 3001:3001 magi-api
⁠Database
docker run \
    --publish=7474:7474 --publish=7687:7687 \
    --volume=$HOME/neo4j/data:/data \
    neo4j

Tag summary

Content type

Image

Digest

Size

336.3 MB

Last updated

about 7 years ago

docker pull wongwils/magi-api