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 🙏

© 2024 – Pkg Stats / Ryan Hefner

micro-saas-vite-kit

v0.1.4

Published

Un template de projet pour Vite, React, TypeScript, Tailwind CSS et Firebase.

Downloads

136

Readme

Starter Kit

Un starter kit pour démarrer rapidement avec des applications SaaS modernes en utilisant React, Vite, TypeScript, TailwindCSS, Firebase, Zustand... Ce kit est conçu pour vous fournir une base solide et extensible pour vos projets. Ce kit fournit une base solide pour démarrer un projet avec les fonctionnalités essentielles d'authentification et une interface utilisateur prête à l'emploi.

Table des matières

Introduction

Ce starter kit est un modèle prêt à l'emploi pour créer des applications SaaS avec une configuration moderne. Il intègre les meilleures pratiques de développement avec des outils et des technologies éprouvées pour une expérience de développement fluide.

Technologies Utilisées

  • Vite : Outil de bundling rapide pour le développement.
  • React : Bibliothèque pour construire l'interface utilisateur.
  • TypeScript : Superset de JavaScript avec typage statique.
  • TailwindCSS : Framework CSS utilitaire pour une conception rapide et flexible.
  • Firebase : Services backend pour l'authentification, le stockage.
  • Zustand : Gestion d'état global simple et flexible.
  • ESLint : Outil pour maintenir la qualité du code.

Fonctionnalités

  • Inscription : Les utilisateurs peuvent créer un compte avec une adresse e-mail et un mot de passe.
  • Connexion : Les utilisateurs peuvent se connecter avec leurs identifiants.
  • Tableau de bord : Une page protégée pour les utilisateurs connectés, accessible après l'authentification.
  • Déconnexion : Les utilisateurs peuvent se déconnecter de leur compte.

Installation

Pour créer un nouveau projet basé sur ce starter kit, utilisez la commande suivante :

npx micro-saas-vite-kit my-app
cd my-app
npm install

Configuration initiale

  • Ajout du fichier .gitignore

Pour éviter d’inclure des fichiers et des dossiers indésirables dans votre dépôt Git, vous devez ajouter un fichier .gitignore à la racine de votre projet. Voici un exemple de contenu pour le fichier .gitignore :

node_modules
dist
dist-ssr
*.local
.env

Renommage du fichier .env.exemple

Le fichier .env.exemple contient des variables d’environnement nécessaires à la configuration de votre application, notamment pour Firebase. Pour utiliser ces variables, vous devez renommer ce fichier en .env et remplir les valeurs appropriées:

VITE_REACT_APP_API_KEY=your_api_key
VITE_REACT_APP_AUTH_DOMAIN=your_auth_domain
VITE_REACT_APP_DATABASE_URL=your_database_url
VITE_REACT_APP_PROJECT_ID=your_project_id
VITE_REACT_APP_STORAGE_BUCKET=your_storage_bucket
VITE_REACT_APP_MESSAGING_SENDER_ID=your_messaging_sender_id
VITE_REACT_APP_APP_ID=your_app_id
VITE_REACT_APP_MEASUREMENT_ID=your_measurement_id

Lancer le Projet

Votre projet est maintenant prêt à être utilisé. Vous pouvez démarrer le serveur de développement avec la commande suivante :

npm run dev

Auteur

Ce projet est maintenu par BriiceR.

Dépôt Git

Pour plus d'informations, consulter le dépôt GitHub du projet : micro-saas-vite-kit