Giter Site home page Giter Site logo

roj4s / yii_angular_web_app Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 278 KB

Simple Microservice Architecture based Web App (Yii2 REST API + Angular 2 + Docker)

PHP 64.03% Shell 0.30% Batchfile 0.87% CSS 8.02% TypeScript 20.87% JavaScript 1.38% HTML 4.10% Dockerfile 0.44%

yii_angular_web_app's Introduction

Simple Microservice Architecture based Web App (Yii2 REST API + Angular 2 + Docker)

Technologies employed:

  • Yii2 for providing RESTful API and for DB migrations
  • Angular 4
  • Bootstrap Sass
  • Wallmart Free Api
  • Docker

Requirements:

  • Docker

How to execute:

  • If you have mysql-server installed please stop its service with: service mysql stop
  • Once you've cloned this repository locally with git clone execute: docker-compose up to start the necessary images
  • Once all containers are up and built execute the init script inside de backend container. Such script run migrations to create Db schema and populates tables with data from the Wallmart Free Api.
  • To run init script you need to open a console inside the backed container with: docker exec -it fpftest_backend_1 /bin/bash
  • Once inside the backend container execute the init script with ./init

If all the previous steps for set up went well youll be able to access the front-end app through localhost:4200 and the rest api through localhost:4201.

yii_angular_web_app's People

Contributors

roj4s avatar

Stargazers

 avatar

Watchers

 avatar

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.