npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@hiqaody/create-auth-itdc

v1.0.1

Published

NestJS backend template for auth-itdc

Readme

@hiqaody/create-auth-itdc

npm version License: MIT Node.js Version NestJS TypeScript

🚀 Générateur de service d'authentification NestJS + PostgreSQL prêt pour la production

Créez une API REST d'authentification robuste et modulaire en quelques minutes, avec gestion utilisateur, rôles, JWT et intégration MinIO.


✨ Fonctionnalités principales

  • 🔑 Authentification sécurisée JWT
  • 👤 Gestion des utilisateurs et des rôles
  • 🗄️ Intégration MinIO pour le stockage d’objets
  • 🛡️ Sécurité best-practice (Helmet, CORS, validation)
  • 🐳 Support Docker et Docker Compose
  • ⚡ Génération automatique de secrets et configuration guidée
  • 📦 Architecture NestJS modulaire, prête à l’emploi

🚀 Démarrage rapide

Prérequis

  • Node.js 14 ou supérieur
  • npm ou yarn
  • PostgreSQL (local ou distant)
  • (Optionnel) Docker pour déploiement rapide

Installation

Mode interactif (recommandé)

npx @hiqaody/create-auth-itdc

Génération rapide

npx @hiqaody/create-auth-itdc mon-api
cd mon-api
npm install
npm run start:dev

Avec npm create

npm create @hiqaody/auth-itdc mon-api

⚙️ Configuration

À la fin de la génération, un fichier .env complet est produit. Modifiez-le selon vos besoins :

# Database
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_USER=postgres
POSTGRES_PASSWORD=motdepasse
POSTGRES_DB=auth_itdc

# Application
APP_PORT=5000
APP_NAME=auth-itdc

# Security
JWT_SECRET=secretgénéré
JWT_REFRESH_SECRET=refreshsecretgénéré
JWT_EXPIRES_IN=1d

# Minio
MINIO_ENDPOINT=localhost
MINIO_PORT=9000
MINIO_ACCESS_KEY=
MINIO_SECRET_KEY=
MINIO_BUCKET_NAME=auth-itdc

# Environnement
NODE_ENV=development

# Base URL
BASE_URL=http://localhost:5000

# Super Admin
[email protected]
SUPER_ADMIN_PASSWORD=superadminitdcmada
SUPER_ADMIN_PHONE=0342808530

📁 Structure générée

mon-api/
├── src/
│   ├── auth/
│   ├── database/
│   ├── jwt/
│   ├── minio/
│   ├── role/
│   ├── shared/
│   ├── user-session/
│   └── users/
├── .env.example
├── package.json
├── Dockerfile
├── README.md
└── ...

🛠️ Commandes utiles

| Commande | Description | |---------------------------|------------------------------------| | npm run start | Démarrage classique | | npm run start:dev | Mode développement (hot reload) | | npm run build | Build production | | npm test | Lancer les tests | | npm run typeorm ... | Gestion des migrations |


🤝 Contribution

Les contributions sont les bienvenues !
Forkez, créez une branche, proposez une PR.


📄 Licence

MIT


🚀 Lancez votre backend Node sécurisé en 2 minutes !