Git Product home page Git Product logo

masterthesis-express-js-api's Introduction

Monolithic architecture

This repository contains the code for an Express.js API that demonstrates a Monolithic architecture.

Purpose

The primary purpose of this project is to serve as a practical component of a Master's thesis aimed at comparing different server architectures - Monolithic, Serverless, and Microservices with Kubernetes. This Express.js API project encapsulates a Monolithic architecture, providing a simplified yet representative model for evaluation and analysis.

This API is designed to handle basic CRUD (Create, Read, Update, Delete) operations on users, products, and orders. It is structured to simulate a scenario where all requests are routed to a single server managing all functionalities. This setup aims to underline the core characteristics of a Monolithic architecture, demonstrating its behaviors under different workloads, particularly during load tests which are performed to measure and compare key performance metrics like response time, throughput, error rates, and resource utilization across different server architectures.

Moreover, this project is not only an academic endeavor but also a learning pathway to understanding the practical implications, benefits, and limitations of a Monolithic architecture in real-world scenarios. Through this project, insights into scalability, maintainability, and performance of Monolithic architecture are expected to be garnered, contributing significantly to the comparative analysis essential for the Master's thesis.

The code, findings, and analyses from this project are intended to be shared with the academic and developer communities to foster understanding and discussions around server architecture designs, and their impact on application performance and scalability.

Prerequisites

  • Node.js
  • MySQL

Endpoints

Here are the available endpoints:

GET /users: Fetch all users.

POST /users: Create a new user.

PUT /users/:id: Update a user.

DELETE /users/:id: Delete a user.

GET /products: Fetch all products.

POST /products: Create a new product.

PUT /products/:id: Update a product.

DELETE /products/:id: Delete a product.

GET /orders: Fetch all orders.

POST /orders: Create a new order.

PUT /orders/:id: Update an order.

DELETE /orders/:id: Delete an order.

masterthesis-express-js-api's People

Contributors

arthureberledev 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.