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

josh-111111

v0.0.3

Published

[Preview link](http://company-profiles-ui.s3-website-ap-southeast-2.amazonaws.com/companies/coolcompany_123)

Downloads

205

Readme

company-profiles-ui

Preview link

The project is a POC for Company Profiles page on the candidate side.

At the beginning we will be rolling the page out only for an agreed subset or companies, including SEEK itself, taking over the seek.com.au/companies/_id_/ home route.

For the initial stages, data will be hardcoded in the app and subsequently moved to appropriate databases as we grow bigger.

Note: there is NO intention to take over the company reviews as a product.

Existing company reviews set is treated as a set of third-party data providers and has a very little overlap with company profiles themselves.

This project is powered by sku, braid and built with React.

Getting Started

First of all, make sure you've installed Yarn.

Then, install dependencies:

$ yarn

Workflow

Setting up .env

getEnv script

You can configure your .env with the getEnv.sh script:

  • Make sure your CLI is authenticated with AWS
  • Run yarn get-env

Manual steps

Configure your .env file with the following variables:

PAPI_KEY=
JOBS_API_KEY=
AUTH_API_KEY=

The values for these variables are considered secrets and are stored in AWS Secrets Manager. The .env file and its content should not be committed to the repo and therefore is inside .gitignore.

Note: You can use .env.sample as a guide by copying the content of it into your .env file and populating the values.

Make sure .env contains staging env variables.

Start a local development server:

$ yarn start

Then use this url to open SEEK profile in staging: https://dev.seek.com.au:3000/companies/seek-1217901. If you get SSL warning, then type: thisisunsafe.

By default, staging environment is used. If production environment is required then it can be specified (need to update .env file with prod values too):

$ yarn start --environment production

Then use this url to open SEEK profile in production: https://dev.seek.com.au:3000/companies/seek-432600.

Other commands

Run unit tests:

$ yarn test

Lint and format code:

$ yarn lint
$ yarn format

Build assets for deployment (staging/production):

$ yarn build