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

@hayang-feathr-ui-test/feathr-ui-npm

v0.2.5

Published

This directory hosts Feathr Feature Store UI code.

Downloads

2

Readme

Feathr Feature Store UI

This directory hosts Feathr Feature Store UI code.

Development Getting Started

Prerequisites

  1. Install latest Node v16.x. Run node --version to verify installed Node versions.
  2. Recommended for Visual Studio Code users: install following two extensions to enable auto code formatting support.

Build and run locally

Each command in this section should be run from the root directory of the repository.

Open terminal, go to root of this repository and run following commands.

cd ui
npm install
npm start

This should launch http://localhost:3000 on your web browser. The page will reload when you make code changes and save.

[Optional] Override configurations for local development

  • Point to a different backend endpoint: by default, UI talks to live backend API at https://feathr-sql-registry.azurewebsites.net. To point to a custom backend API (e.g. running locally), create a .env.local in this directory and set REACT_APP_API_ENDPOINT, for example:
REACT_APP_API_ENDPOINT=http://localhost:8080
  • Use different authentication settings: by default, UI authenticates with an Azure AD application with multiple tenants authentication enabled. To change to use a different Azure AD application, create a .env.local in this directory and set REACT_APP_AZURE_CLIENT_ID and REACT_APP_AZURE_TENANT_ID, for example:
REACT_APP_AZURE_CLIENT_ID=<REPLACE_WITH_YOUR_AZURE_CLIENT_ID>
REACT_APP_AZURE_TENANT_ID=<REPLACE_WITH_YOUR_TENANT_ID>

Deploying

  • For static file based deployment, run npm run build and upload build/ to your server.
  • For docker image based deployment, run docker -t <image_name> . to build image and push to your container registry.

Code Linting & Formatting

Following tools are used to lint and format code:

Linting

If ESLint plugin is installed, vscode will pickup configuration from .eslintrc and automatically lint the code on save. To lint code for entire code base, simply run:

npm run lint:fix

This command will automatically fix all problems that can be fixed, and list the rest problems requires manual fix.

Formatting

If Prettier is installed, vscode will pick up configuration from .prettierrc file and automatically format code on save. To format code for entire code base, simply run:

npm run format

Formatting automatically on commit

Husky is used to lint commit changes as a git hook. Prettier is configured to run on staged files in husky git hook. This prevents anything with formatting errors to be committed.

Project Structure

src/
  api         // rest client
  components  // shared react components
  models      // api data model, view model, etc
  pages       // a view on the page, can be routed by url path
  router      // url path and page mapping