Awesome
4 day week
A list of companies friendly to 4 day workweek
Contributing
-
Install Node. Download the "Recommend for Most Users" version.
-
Clone the repo:
git clone git@github.com:rafaelcamargo/4dayweek.git
- Go to the project directory
cd 4dayweek
- Install the project dependencies
npm install
- Create a
<company-name>.json
insrc/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.
}
- Check your changes running the command below and accessing
http://localhost:9000
:
npm run start
Tests
- In case you have changed any website behavior, ensure that all changes are covered with automated tests:
npm run test
- You can optionally generate a coverage report while running tests:
npm run test -- --coverage