Git Product home page Git Product logo

course.microservice's Introduction

Course.Microservice

Microservice Course project inspired by Udemy

Table of Contents

Introduction

This project is a microservice-based architecture inspired by Udemy's course structure. It leverages .NET and various other technologies to create a scalable and maintainable application.

Project Structure

Course.Microservice/
├── Gateways/
│   └── Course.Gateway/
├── IdentityServer/
│   └── Course.IdentityServer/
├── Services/
├── Shared/
│   └── Course.Shared/
├── clients/
│   └── Course.Web/
├── .dockerignore
├── .gitignore
├── Microservices.sln
├── Ports.txt
├── ResourceOwnerPasswordTokenHandler.cs
├── docker-compose.dcproj
├── docker-compose.override.yml
├── docker-compose.yml
└── launchSettings.json

Key Folders and Files

  • Gateways/: Contains API Gateway for routing and aggregation.
    • Course.Gateway/: Implementation of the API Gateway.
  • IdentityServer/: Manages authentication and authorization.
    • Course.IdentityServer/: Implementation of Identity Server.
  • Services/: Contains individual microservices.
  • Shared/: Shared libraries and components.
    • Course.Shared/: Implementation of shared components.
  • clients/: Client applications.
    • Course.Web/: Frontend web application.
  • docker-compose.yml: Docker Compose file for container orchestration.

Technologies Used

  • Backend: .NET Core
  • Frontend: HTML, CSS, JavaScript
  • Authentication: IdentityServer
  • API Gateway: Ocelot
  • Communication: RabbitMQ
  • Database: PostgreSQL
  • Containerization: Docker

Getting Started

These instructions will help you set up and run the project on your local machine for development and testing purposes.

Prerequisites

  • .NET SDK 8.0
  • Docker
  • Visual Studio 2022 or later / Visual Studio Code
  • PostgreSQL

Installation

  1. Clone the repository:

    git clone https://github.com/BatuhanB/Course.Microservice.git
    cd Course.Microservice
  2. Set up environment variables: Create a .env file in the root directory and add the necessary environment variables.

  3. Build and run Docker containers:

    docker-compose up --build

Running the Application

  1. Start the services using Docker Compose:
    docker-compose up
  2. Open the solution in Visual Studio and set multiple startup projects (Gateway, IdentityServer, Services).
  3. Run the solution.
  4. Access the web application at http://localhost:<GatewayPort>.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

course.microservice's People

Contributors

batuhanb avatar

Watchers

 avatar  avatar Emin Akyüz 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.