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

@blossomdevs/blossom-stack-jsx

v1.2.2

Published

starter tmeplate with JSX + Vite + React to get you started in your fullstack developer journey!

Downloads

1

Readme

Blossom-Stack

Blossom-Stack is a modern, fast, and efficient development stack designed for building scalable and maintainable web applications. It combines the power of Vite, React, SWC, TailwindCSS, DaisyUI, and Supabase to offer a seamless development experience right from the start. This stack is perfect for developers looking to leverage the latest technologies in the JavaScript ecosystem.

Features

My Skills

  • Vite: Utilizes Vite for an ultra-fast development server and build tool, significantly improving the development experience with hot module replacement (HMR) and optimized build times.
  • React: Builds user interfaces with React, enabling developers to create complex UIs from isolated pieces of code called components.
  • SWC: Employs SWC as a super-fast compiler that allows quick transpilation of modern JavaScript/TypeScript features for compatibility with older browsers.
  • TailwindCSS: Integrates TailwindCSS for utility-first CSS, facilitating rapid UI development without leaving your HTML.
  • DaisyUI: Incorporates DaisyUI, a TailwindCSS plugin that provides beautiful UI components, making the application visually appealing with minimal effort.
  • Supabase: Includes a Supabase starter to set up a scalable backend with authentication, database, and real-time subscriptions out of the box.

Getting Started

Quick Start with CLI

To quickly start a new project with Blossom-Stack, you can use the blossom-stack-jsx CLI tool:

  1. Install the CLI tool globally:

  2. Create a new project:

This command clones the Blossom-Stack repository, sets up a new project named my-new-project, and installs all dependencies.

Prerequisites

  • Node.js (v14.0.0 or higher)
  • npm (v6.0.0 or higher)

Manual Installation

If you prefer not to use the CLI tool, follow these manual setup steps:

  1. Clone the repository:
git clone https://github.com/alexeiddg/Blossom-Stack.git
  1. Navigate into the project directory:
cd Blossom-Stack
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev

Your application will be available at http://localhost:5173/.

Database Setup

  1. Navigate to the local-db-env directory:
cd local-db-env
  1. Start the local database environment (ensure Docker is installed):
./start-database.sh

Your database Dashboard will be available at http://localhost:54323.

  1. Apply the schema to your database:
psql -U postgres -d your_db_name -a -f schema.sql

or use the Supabase dashboard to create the schema.

Building for Production

To create a production build, run:

npm run build

This command generates a dist/ folder with your optimized application assets, ready to be deployed.

Folder Structure

Blossom-Stack/
├── public/                      # Static assets like images and icons
│   └── favicon.ico              # Favicon
├── src/                         # Source files
│   ├── assets/                  # Module assets like images and fonts
│   ├── components/              # UI components
│   │   ├── card.jsx             # Example component
│   │   └── ...
│   ├── pages/                   # Page components
│   ├── app.jsx                  # Main React component
│   └── main.jsx                 # Entry point for React app
├── local-db-env/                # Local database environment setup
│   ├── schema.sql               # Database schema
│   └── start-database.sh        # Script to start the local database
├── .gitignore                   # Specifies intentionally untracked files to ignore
├── index.html                   # Entry point for the application
├── package.json                 # Project manifest
├── README.md                    # Project documentation
└── vite.config.js               # Configuration for Vite

License

This project is open-source and available under the MIT License. See the LICENSE file for more information.