Skip to content

rafaelcamargo/4dayweek

Repository files navigation

4 day week

A list of companies friendly to 4 day workweek

CircleCI Coverage Status

Contributing

  1. Install Node. Download the "Recommend for Most Users" version.

  2. Clone the repo:

git clone git@github.com:rafaelcamargo/4dayweek.git
  1. Go to the project directory
cd 4dayweek
  1. Install the project dependencies
npm install
  1. Create a <company-name>.json in src/companies/data containing the following data:
{
  "name": String,
  // [Required] Company's name.
  "adoption": String,
  // [Required] "Full" or "Partial".
  // Full: Company adopts 4-day week for everyone during the whole year.
  // Partial: Company adopts 4-day week with restrictions (e.g. During summer only).
  "website": String,
  // [Required] Company's website.
  "careers_page": String,
  // [Required] Company's careers page.
  "description": String,
  // [Required] Brief description on how company applies 4-day week.
  "origin": String,
  // [Optional] City/Country where company has been founded (e.g. Chicago, USA).
  "created_on": String,
  // [Required] Date you you are creating the file.
  "updated_on": String
  // [Optional] Date you are updating the file.
}
  1. Check your changes running the command below and accessing http://localhost:9000:
npm run start

Tests

  1. In case you have changed any website behavior, ensure that all changes are covered with automated tests:
npm run test
  1. You can optionally generate a coverage report while running tests:
npm run test -- --coverage

About

A collaborative list of companies friendly to the 4-day workweek.

Topics

Resources

Stars

Watchers

Forks