Code Monkey home page Code Monkey logo

frouioui / dashboard-epitech Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 2.0 19.91 MB

ReactJS frontend to create a dashboard using multiple services such as student grade, weather, stocks and so on. The website depends on a micro service architecture and has multiple backend services coded in Golang, Python and NodeJS. The website runs on a GCP environnement.

Dockerfile 0.89% JavaScript 69.61% Shell 0.14% Python 1.93% CSS 18.71% HTML 0.97% Go 7.75%
micro-services frontend reactjs golang

dashboard-epitech's Introduction

Dashboard Epitech

Authors

Architecture (the big pitcure)

Our project is divided into multiple micro-services.

This architecture allows us to work faster and code API that are scalable and that we can easily manage.

This kind of architecture (micro-services) is used more and more by tech companies. It allows :

  • Better team organisation.
  • Less frustration between teams.
  • Less errors in code and production environment.
  • The ability to code with different programming language, making it easier to use the right programming language for the right situation.

The services

Production deployement

Our project uses docker-compose and google cloud platform.

Docker compose

Docker compose is used for local environment only.

To build the project: $> docker-compose build

To run the project: $> docker-compose up

Google Cloud Platform

Google Cloud Platform is uses for production environment only.

Every time a push or a pull requested is validated by Travis CI all the services are pushed to the productions servers.

Each push create a new versions of the APIs and the Frontend service.

The production environment dashboard is accessible at: https://pedafy.com

Frontend

The frontend (main application) is available at http://localhost (on local env).

We used ReactJS. Why did we?

We decided to use ReactJS beceause it is a framework used by more and more companies. It is a nice assets to know how to use this technology when looking for a job. Also, it is a easy framework and does not require a lot of work to get around it.

Bonuses

  • Micro services Architecture.

    • 10 independant services.
    • 12 factors app.
    • Each API respects ISO rules and follow the Richardson Maturity Mode.
  • Deploiement

    • Travis CI deploys automatically to Google App Engine every single services
  • Database

    • Usage of MySQL database
    • PhpMyAdmin
  • Environment

    • Two environment (Dev and Prod)
    • Production servers
      • 1 server for each service/API (beside PMA and SQL) for a total of 9 servers
      • Code automatically pushed and run on servers for every push on branch master
      • Managment of DNS
      • SSL certificat
      • Multiple routes (defines at the root of the repo './dispatch.yaml')
  • GitHub

    • Huge usage of issue
    • Huge usage of PR
    • Daily meeting reports

dashboard-epitech's People

Contributors

dependabot[bot] avatar frouioui avatar madeinusa34 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dashboard-epitech's Issues

Bug when creating database & launching services

Issue when we start the project with docker-compose, the widget_api creates the database without checking if the users_api started, which causes problems because the widget_api needs the Users API database.

Create folder architecture for User API

  • Create the folder architecture for the User API
  • Create the app.yaml for Google App Engine
  • Add the service in the dispatch.yaml
  • Add the service in the docker-compose.yml`

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.