Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

company-profiles-ui

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

company-profiles-ui

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

  • 0.0.0-ssr-31
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 15 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc