Skip to content

A web app for calculating the impacts of remote working designed for both companies and everyday people. Done as a study project (Ohjelmistotuotantoprojekti 2020) by University of Helsinki students in collaboration with RemoteSocietyNow.

RemoteSocietyNow-ohtu/remotesocietynow

Repository files navigation

RemoteSocietyNow

Build Status codecov

Introduction

Remote-work and remote-life can become new key efforts in limiting CO2 emissions. You and your company actually earn real money and save time, plus productivity increases.

Calculations and coefficients used in the aplication

Spreadsheet with parameters and calculations for the corporate and personal calculators. These have been used as basis for calculations used in the application. Updating the spreadsheet won't update the application.

Questions for companies and individuals

Technologies and platforms

⋅⋅⋅NodeJS Backend
⋅⋅⋅React front end
⋅⋅⋅Travis CI https://travis-ci.org/RemoteSocietyNow-ohtu/remotesocietynow
⋅⋅⋅Staging Heroku https://remotesocietynow.herokuapp.com/
⋅⋅⋅Eslint https://github.com/RemoteSocietyNow-ohtu/remotesocietynow/blob/master/.eslintrc.js

Coding Conventions

Coding conventions

CI

Local -> (push to master) -> Github -> Travis CI -> Heroku staging -> (promote) -> Heroku production

Project material

Product backlog

Project material

Links to files containing editable text

All other texts except questions

People calculator questions

Company calculator questions

CO2 coefficients

Calculation formulas

Newsletter

Getting started

Not familiar with Git? This is a good place to start.

1. Clone the repository

git clone <repository>

2. Install dependencies

npm install

3. Start the project in development mode

npm run dev

Port 3001 will be used by default if not defined in .env. Project will be open at address:

http://localhost:3001/

If needed create .env file in the root directory. Define the necessary environment variables in .env.

Example contents of .env:

PORT=3001

Backend and frontend are automatically built after making changes to the code in development mode.

Linting and testing

Eslint

Check for eslint-errors

npm run lint

Automatically fix most common eslint errors

npm run fix:lint

Jest

You can run tests with command

npm run test

Push to Github

Make changes to local copy then push to master

git add .
git commit -m "your message"
git push

About

A web app for calculating the impacts of remote working designed for both companies and everyday people. Done as a study project (Ohjelmistotuotantoprojekti 2020) by University of Helsinki students in collaboration with RemoteSocietyNow.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •