项目作者: alexZajac

项目描述 :
React app displaying Marvel characters in a grid layout
高级语言: JavaScript
项目地址: git://github.com/alexZajac/marvelize.git
创建时间: 2019-12-18T16:37:00Z
项目社区:https://github.com/alexZajac/marvelize

开源协议:MIT License

下载


Marvelize

React app displaying Marvel characters in a grid layout.

This challenge was realized in the process of a Software Engineering challenge for SmartRenting.

The project runs a Node server in one container, serving a react-app in another and all wrapped up with Docker Compose.

Preview

demo

Development

docker-compose up

The two folders are mounted in their own docker containers and volume-mounted. Open http://host:3000 (where host is localhost for docker desktop and docker-machine id for VMs).

Production

docker-compose -f docker-compose.prod.yml up

The app is compiled and built into its own docker container, that is opened with docker-compose as as service. Open http://host:8080 (where host is localhost for docker desktop and docker-machine id for VMs).