Giter Site home page Giter Site logo

lucasyule2212 / dev-monorepo Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.51 MB

Project of an online course store using a monorepo with Next.js for the frontend and Nest.js for the backend, following a microservices architecture and using Apache Kafka.

JavaScript 4.13% TypeScript 94.18% Shell 0.24% CSS 1.45%

dev-monorepo's Introduction

Dev Monorepo

Project of an online course platform using a monorepo with Next.js for the frontend and Nest.js for the backend, following a microservices architecture and using Apache Kafka.
Obs: In this project, I had no intention to build the entire course platform. Instead, the focus was to develop and study microservices architecture with NestJS and GraphQL.

Author

Used Techs

Monorepo: Turborepo

Frontend: React, Next.js, GraphQL Codegen

Backend: Nest.js, GraphQL, Apollo Client, Apache Kafka

Database: Serverless PostgreSQL, PrismaORM

Styling/Animations/Icons: TailwindCSS, ShadcnUI, RadixUI, Lucide Icons

Auth Manager: Auth0

Others: Zod, Husky, Commitizen, Commitlint, Lint-staged

Services Description:

  • Purchase Service:
    • [Admin] Products register
    • [Admin] Products list
    • [Auth] Shopping list
    • [Public] Products purchase
    • [Public] Available products for purchase
  • Classroom Service:
    • [Admin] Registrations list
    • [Admin] Students list
    • [Admin] Courses list
    • [Admin] Courses register
    • [Auth] List courses a student has access
    • [Auth] List course content

Features

  • Monorepo architecture by Turborepo
  • Microservices architecture with Apache Kafka.
  • Cloud database by Neon.tech (PostgreSQL)
  • Unitary testing with Jest
  • Authentication by Auth0
  • GraphQL API Gateway with Apollo Federation

Learnings...

  • Nest.js framework
  • Monorepo architecture and configuration
  • Auth0 authentication management
  • Serverless Database with Neon
  • Microservices architecture + Apache Kafka (Message Brokers)
  • GraphQL + Apollo Client practical studies
  • Apollo Federation
  • GraphQL Codegen
  • Deploy in Amazon Beanstalk (upcoming)

Project Architecture

arch

Screenshots

  • Homepage
  • Auth0 Login
  • Courses Loading
  • Courses Loaded
  • Enroll action loading
  • Enroll confirmation message
  • Already enrolled message
  • User courses

dev-monorepo's People

Contributors

lucasyule2212 avatar turbobot-temp 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.