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

salt-app-kickstart

v1.0.2

Published

A CLI tool to inject templates built using Salt design System into the react app, launch it to localhost and push to github..

Downloads

89

Readme

🌟 SALT-APP-KICKSTART 📘🖌️

npm npm

Create a new Salt Design System app quickly and easily.

🚀 Quick Start

To create a new Salt app, run:

npx salt-app-kickstart@latest

What happens next:

  • You’ll be prompted for a few details, such as the project name and template choice.
  • The tool will automatically create the project structure tailored to your specifications.
  • It will install all necessary dependencies for a smooth development experience.
  • Finally, your app will launch on localhost, allowing you to start coding immediately!

🎥 Video Demonstration

🌟 Why Salt App Kickstart?

  • Automatic Setup: Save time with pre-configured Salt Design System templates.
  • Flexible Templates: Includes popular templates like AGGrid and Dashboard.
  • Local Development: Automatically launches the app on localhost for immediate use.
  • GitHub Integration: Easily push your app to a GitHub repository.

🛠 Project Structure

Current Project Structure

salt-app-kickstart/
├── templates/                  # Various project templates
├── .gitignore                   # Files to be ignored by Git
├── CODE_OF_CONDUCT.md           # Contributor code of conduct
├── CONTRIBUTING.md              # Contribution guidelines
├── KNOWN_ISSUES_AND_TASKS.md    # Document listing known issues
├── LICENSE                      # License details
├── check_install.js             # Script to verify installation prerequisites
├── cli.js                       # Main entry point for the CLI tool
├── copy_templates.js            # Utility for copying templates
├── exec_childprocess.js         # Handles child processes
├── install_dependencies.js       # Manages package installations
├── package.json                 # Project metadata and dependencies
├── package-lock.json            # Dependency lock file
├── push_to_github.js            # Pushes project to GitHub
├── readme.md                    # Project documentation
├── run_in_localhost.js          # Launches app locally
└── video-thumbnail.png          # Thumbnail for demo video

Generated Project Structure

my-app/                         # Your newly created app
├── public/                     # Static files for your app
├── src/                        # Source code of your app
│   ├── templates/              # Various app templates
│   ├── App.css                 # Main styles
│   ├── App.js                  # Main application logic
│   ├── App.test.js             # Test cases for the main app
│   ├── index.css               # Styles for the index
│   ├── index.html              # Main HTML file to be served (copied from the current structure)
│   ├── index.js                # Main entry point for the app (copied from the current structure)
│   ├── logo.svg                # Logo for the app
│   ├── reportWebVitals.js      # Performance reporting
│   └── setupTests.js           # Setup for testing
├── package-lock.json           # Dependency lock file
├── package.json                # Project metadata and dependencies
└── README.md                   # Project documentation
  • Starting Point: The entry point of the application is cli.js, which contains command's abstract logic to initiate the setup process. From cli.js, different functions are called to execute various utility scripts, leading to the generation of the project structure. Key files, such as index.js and index.html, are copied from the current project structure to the newly created app, ensuring that users have a solid foundation to start their development.

🛠 Project Flowchart

  +-----------------------------------+
  |         Salt App Kickstart        |
  +-----------------------------------+
                  |
                  | 
                  v
  +-----------------------------------+
  |               cli.js              |
  +-----------------------------------+
  |        main entry point           |
  |(contains command's abstract logic)|
  +-----------------------------------+
                  |
                  | Calls
                  v
  +-----------------------------------+
  |       Various Utility Scripts     |
  +-----------------------------------+
  | check_install.js                  |
  | copy_templates.js                 |
  | exec_childprocess.js              |
  | install_dependencies.js           |
  | push_to_github.js                 |
  +-----------------------------------+
                  |
                  v
  +-----------------------------------+
  |             index.js              |  <--- Copied to the generated structure
  +-----------------------------------+
  | main application logic            |
  +-----------------------------------+
                  |
                  v
  +-----------------------------------+
  |            index.html             |  <--- Copied to the generated structure
  +-----------------------------------+
  | main HTML file                    |
  +-----------------------------------+
                  |
                  v
  +-----------------------------------+  
  |          Project Metadata          |
  +------------------------------------+
  | package.json                       |
  | package-lock.json                  |
  +------------------------------------+
                  |
                  v
  +-------------------------------------------------+
  |        Project Documentation                    |
  +-------------------------------------------------+
  | README.md                                       |
  | documentation/LICENSE                           |
  | documentation/CONTRIBUTING.md                   |
  | documentation/CODE_OF_CONDUCT.md                |
  | documentation/KNOWN_ISSUES_AND_TASKS.md         |
  | .gitignore                                      |
  +-------------------------------------------------+

🔧 Features

  • 📦 Pre-installed Salt Dependencies: Save time with built-in support for Salt Design System components.
  • 📊 AGGrid and Dashboard Templates: Jumpstart your projects with ready-made grids and dashboards.
  • 📱 Local Dev Environment: The app automatically launches on localhost so you can start coding right away.
  • 🔗 GitHub Integration: Quickly push your project to a GitHub repository with built-in commands.

💻 Development Workflow

  1. Install dependencies:

    npm install
  2. Run the app:

    npm start

You can access your application by visiting http://localhost:3000 in your web browser. This will display your newly created app, allowing you to interact with it immediately.

  1. Build for production:

    npm run build

This creates an optimized, production-ready build of your app inside the build/ folder.

  1. Deploy your app to hosting services like GitHub Pages, Netlify, or Vercel. Each platform provides simple guides for deploying your app:

    • GitHub Pages: Push your build folder to a GitHub repository and enable GitHub Pages in the settings.
    • Netlify: Drag and drop your build/ folder to the Netlify dashboard for instant deployment.
    • Vercel: Connect your GitHub repository and follow the prompts to deploy.

🌐 Salt Design System Integration

The Salt Design System is pre-installed, offering reusable components and consistent UI elements for rapid development. With pre-styled components, you can focus on your app's logic and functionality while maintaining a cohesive design throughout your project.

🙌 Contributing

We welcome contributions! If you’d like to help improve this project, please check out our Contributing Guide for details on how to get involved.

Thanks 🙌 to all the contributors:

Repository Metrics

📝 License

This project is licensed under the MIT License. For more details, check the LICENSE file in this repository.

❓ Questions?

If you have any questions or suggestions, feel free to reach out. We’re here to help you build awesome apps with Salt!

Made with ❤️ by Duddekunta Devamani.