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

b1nd-react-app

v1.3.1

Published

React BoilerPlate for DGSW Students made by B1ND

Downloads

81

Readme

b1nd-react-app

Overview

b1nd-react-app is a template that allows you to quickly implement authentication-related functionality. This project is written in React and is configured with Axios and interceptors for efficient API communication. The project structure is extensible and can be used in various environments.

HOW TO USE?

START

You can start with npx b1nd-react-app [projectname].

  1. ? Which bundler do you want to use? - You can choose the bundler. ❯ Default (No bundler) Webpack (Recommended) Vite

  2. ? Which language do you want to use? - Choose the language you want to use. ❯ TypeScript JavaScript

  3. ? Which package manager would you like to use? - Choose your package manager. ❯ npm yarn pnpm bun

  4. ? Do you want to include Axios? - Choose whether to include Axios with default settings. ❯ Yes No

HOW TO INSTALL

USER EDITING POINT

  1. Please change the server property in src/config/config.json to your API BASE_URL.
  2. Change the refresh endpoint in line 32 of src/libs/responseInterceptor.ts to your API endpoint. Also, modify the BODY in line 33 to match your API’s request body.
  3. Change the login URL in line 12 of src/libs/requestInterceptor.ts to your login URL.

ETC

  • If you do not need or have a different token usage process, you can delete the token-related folders.
  1. Tokens are divided into accessToken and refreshToken, and they are stored in cookies as accessToken and refreshToken.
  2. To store tokens, use token.setToken({TOKEN_CONSTANTS}, [value]);. For example: token.setToken(ACCESS_TOKEN_KEY, res.data.data.accessToken);
  3. This folder structure is designed for developing React projects using the FLUX architecture. What is FLUX?
  4. For communication with the server, using react-query will make it even more convenient.
  5. You can use either webpack or vite as the bundler.

Folder Architecture

├─public
└─src
    ├─api               # API related files
    ├─assets            # Static files such as images, fonts, etc.
    ├─components        # UI components
    ├─config            # Configuration files (config.json)
    ├─constants         # Constant files
    │   └─token         # Token-related constants
    │      └─token.constants.ts
    ├─hooks             # Custom hooks
    ├─libs              # Libraries and helper functions
    │   └─axios         # Axios-related settings
    │      ├─customAxios.ts
    │      ├─requestInterceptor.ts
    │      └─responseInterceptor.ts
    │   └─token         # Token-related settings
    │      └─token.ts
    ├─pages             # Page components
    ├─queries           # React Query related files
    ├─styles            # CSS/SCSS files
    ├─types             # Type definitions
    └─utils             # Utility functions

Framework-Specific Architectures

REACT

For React, the project follows a component-based architecture that utilizes hooks, context, and state management as necessary. Here is the general structure for React GOTO-ARCHITECTURES

VITE

Vite is a build tool that focuses on speed and performance. The structure is similar to React, but it is optimized for fast development and builds. Here is the general structure for a Vite project GOTO-ARCHITECTURES

WEBPACK

Webpack is a bundler that requires more configuration but is extremely flexible. The structure includes configurations for handling assets, code splitting, and optimization. GOTO-ARCHITECTURES

Community

The b1nd-react-app community can be found on GitHub Discussions, where you can ask questions, share ideas, and showcase your projects with other community members.

Please note that our Code of Conduct applies to all b1nd-react-app community channels. We strongly encourage all users to read and adhere to the Code of Conduct to ensure a respectful and productive environment for everyone.

Contributing

Contributions to b1nd-react-app are welcome and highly appreciated. However, before you jump right into it, we would like you to review our Contribution Guidelines to ensure a smooth experience contributing to the project.

Good First Issues:

We have a list of good first issues that are perfect for newcomers and beginners. These issues are relatively limited in scope, making them a great starting point to gain experience, understand the contribution process, and get familiar with the codebase. Check out the list of good first issues and start contributing today! How to write an issue


We look forward to your contributions!

DOCS

한국어 DOCS