All Projects → scalio → bazel-nx-example

scalio / bazel-nx-example

Licence: other
⚡ Example monorepo for Nest + Angular built with Bazel

Programming Languages

typescript
32286 projects
python
139335 projects - #7 most used programming language
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to bazel-nx-example

renestql
React, NestJS & GraphQL monorepo boilerplate managed with nx
Stars: ✭ 25 (-39.02%)
Mutual labels:  nx, nestjs
matnbaz
📚 The source-code for matnbaz.net. A monorepo containing the back-end (NestJS/Prisma/Apollo), front-end (Next.js/Apollo) and some tooling.
Stars: ✭ 481 (+1073.17%)
Mutual labels:  nx, nestjs
ng-nest-cnode
Angular 10 Front-End and Nestjs 7 framework Back-End build Fullstack CNode
Stars: ✭ 17 (-58.54%)
Mutual labels:  nx, nestjs
game-store-monorepo-app
A full-stack web app built with NestJS and ReactJS that helps you find and discover over 500,000+ video games on your device. Powered by RAWG API.
Stars: ✭ 106 (+158.54%)
Mutual labels:  nx, nestjs
nx-ng-nest-universal
Nx Workspace with a seperated Nest App for Angular Universal SSR.
Stars: ✭ 32 (-21.95%)
Mutual labels:  nx, nestjs
buscador-ao
Ponto de obtenção de informações públicas de Angola
Stars: ✭ 21 (-48.78%)
Mutual labels:  nestjs
microservice-template
📖 Nest.js based microservice repository template
Stars: ✭ 131 (+219.51%)
Mutual labels:  nestjs
prime-nestjs
A production-ready NestJS boilerplate using Typescript, Postgres, TypeORM, and Docker.
Stars: ✭ 140 (+241.46%)
Mutual labels:  nestjs
nest-js-products-api
Hexagonal architecture using nestjs
Stars: ✭ 63 (+53.66%)
Mutual labels:  nestjs
bundled-nest
💥 Nest 🔰 Webpack 🔰 Docker 💥 --- 🏯 Now archived for historical reference ⛩
Stars: ✭ 59 (+43.9%)
Mutual labels:  nestjs
rules appengine
AppEngine rules for Bazel
Stars: ✭ 28 (-31.71%)
Mutual labels:  bazel
bazel-eclipse
This repo holds two IDE projects. One is the Eclipse Feature for developing Bazel projects in Eclipse. The Bazel Eclipse Feature supports importing, building, and testing Java projects that are built using the Bazel build system. The other is the Bazel Java Language Server, which is a build integration for IDEs such as VS Code.
Stars: ✭ 104 (+153.66%)
Mutual labels:  bazel
nestjs-zero-to-hero
Coding through the course: NestJS Zero to Hero - Modern TypeScript Backend Development
Stars: ✭ 23 (-43.9%)
Mutual labels:  nestjs
nx-extend
Nx Workspaces builders and tools
Stars: ✭ 67 (+63.41%)
Mutual labels:  nx
bazel-compile-commands-extractor
Goal: Enable awesome tooling for Bazel users of the C language family.
Stars: ✭ 295 (+619.51%)
Mutual labels:  bazel
android-build-eval
This project includes Uber-agnostic auto-generated project(s) with a comparable complexity to existing Uber Production mobile apps. These are buildable on Buck, Bazel and Gradle- therefore enable build time benchmarking.
Stars: ✭ 82 (+100%)
Mutual labels:  bazel
nestjs-pdf
Nest js pdf generator
Stars: ✭ 55 (+34.15%)
Mutual labels:  nestjs
nestjs-rpc
NestJS Json RPC package
Stars: ✭ 47 (+14.63%)
Mutual labels:  nestjs
sf-nest-admin
🚀 基于NestJs + TypeScript + TypeORM + Redis + MySql + Vue2 + Element-UI编写的一款简单高效的前后端分离的权限管理系统
Stars: ✭ 125 (+204.88%)
Mutual labels:  nestjs
rules gitops
This repository contains rules for continuous, GitOps driven Kubernetes deployments.
Stars: ✭ 112 (+173.17%)
Mutual labels:  bazel

Bazel at Scalio

Bazel Nx-Monorepo Starter

A full-stack starter app written in Typescript using Nx, Angular, and NestJS -- built using Bazel

 

Overview

This project was created to demonstrate a fully fledged full-stack typescript application built with Bazel. It showcases basic CRUD operations, authentication, routing, code-sharing between frontend and backend and more.

Frontend application was built according to Angular 8 JWT Authentication Example.

The full list of cool technologies used in this project:

  • Lazy loading of each module in the Angular app.
  • Monorepo architecture using Nx that allows TypeScript interfaces to be shared between frontend and backend.
  • Swagger module for documentation.
    • After the build you can see the documentation for REST API at http://localhost:3000/api.
  • Passport for login using JWT.
    • To access protected routes you should use the HTTP Header: Authentication: 'Bearer <token>'
  • TypeORM + Postgres for persisting data.
  • Docker-compose used to run database, frontend and the backend.
  • Bazel build tool for faster builds

Build & Run

The easiest way to run the API, DB and frontend all together is docker-compose:

docker-compose up --build

Without docker, things are a little more complicated:

# installation
yarn install -D

# run frontend
yarn start

# run backend
# assuming DB is already running
yarn start api

After the build the app should be available at http://localhost:4200/ and API docs are at http://localhost:3000/api.

Credits

Created by @rayman1104 @ Scalio

About us



Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].