Skip to content

It is my pet-project for practice .NET, Angular, SQL, Docker, Html, CSS. It is website for a distribution and engineering company engaged in industrial automation.

Notifications You must be signed in to change notification settings

OleksiiPrykhodko/MikartEnergy

Repository files navigation

MikartEnergy

This is my pet project.
I decided to create the website of a fictitious company that automates production processes in the chemical industry and sells industrial automation components.

Extravagant technologies of this project that you won't find in any other Pet project:

  • ETIM - the international classification standard for technical products. In short, the ETIM standardises the format in which equipment manufacturers provide detailed information about their products to distributors and partners. The ETIM also classifies the technical characteristics and parameters of the products. More details in the short official video ETIM INTERNATIONAL Simpleshow. In this project I use ETIM xml file with information about Siemens automation products (PLC S7-1500 and HMI Comfort). And file with information about ETIM Features and ETIM Values classes which I get using my own application. I have created a separate ETIM-API-Saver application to receive ETIM Features and ETIM Values classes from ETIM API and save it to the XML file.

  • ELBRIDGE Interface - standard developed by ETIM Germany to connect wholesale shops to the product configurators of the industry. The interface technically standardizes the product selection process. In brief, it is a standard according to which equipment manufacturers create their own web configurators, which can be further integrated into the partner's site for quick and error-free selection of equipment and transfer of created specifications to the order list on the partner's web shop. In my project this is used to select equipment from the Siemens catalogue. And adding the result to the order list.

  • TIA Selection Tool - worldwide configurator of Siemens automation products wich uses ELBRIDGE Interface for passing the configuration result to the order list of the distributor's website.

Technologies:

Backend:

Frontend:

DerOps:

Startup project in docker with YAML file

  1. Run command npm install in main frontend directory (MikartEnergy\frontend) with PowerShell or Command Prompt.
  2. Copy the "DockerVolumes" directory with its contents to the C drive root (C:\DockerVolumes). This directory is for docker volumes.
    The database will be created in this directory when the containers are first time started and it already contains needed https development certificate.
  3. Start up Docker and download Microsoft SQL server image with command: docker pull mcr.microsoft.com/mssql/server:2022-latest
  4. Run command docker-compose -p mikartenergy up in main directory of App (with docker-compose.yml file).
  5. Open page http:https://localhost:4200/ in your browser.
  6. Have fun!

Frontend Development server

Run ng serve for a dev server. Navigate to http:https://localhost:4200/. The application will automatically reload if you change any of the source files.

Frontend Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

MikartEnergy database diagram

MikartEnergyDatabaseDiagram