Skip to content

vndevteam/node-demos

Repository files navigation

VNDevTeam

Node.js Demos

Description

This repository contains various demo projects built with Node.js. It serves as a collection of sample applications, boilerplates, and best practices for Node.js development. The goal is to provide easy reference and quick setup for different Node.js frameworks and use cases, helping developers learn and experiment with Node.js technologies.

Project Structure

node-demos/
├── nestjs/         # Main NestJS demo project
├── nestjs-auth/    # Authentication demo with NestJS and TypeORM
├── docker/         # Docker compose files for local development
├── commitlint.config.js
├── package.json
├── README.md
└── ...

Demo Projects

Getting Started

Prerequisites

  • Node.js (v18+ recommended)
  • pnpm (or npm/yarn)
  • Docker (for local database setup)

Installation

Clone the repository:

git clone https://github.com/vndevteam/node-demos.git
cd node-demos

Install dependencies for each project:

cd nestjs
pnpm install
# or
cd nestjs-auth
pnpm install

Running the Project

Start the NestJS server:

pnpm start

For authentication demo:

cd nestjs-auth
pnpm start

Using Docker

To start local databases (MySQL/PostgreSQL):

docker-compose -f docker/docker-compose_mysql.local.yml up -d
# or
docker-compose -f docker/docker-compose-postgresql.local.yml up -d

License

This project is licensed under the MIT License.

About

NodeJS demo projects

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5