NiazMorshed2007 / wtt_front

Water the Trees React frontend

Home Page:https://waterthetrees.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

waterthetrees

Water The Trees is a platform that crowd sources tree planting and maintenance. We believe in the power of trees to restore natural habitat for animals, insects, and fauna. We are interesting in continuous massive tree planting events to help sequester carbon and stabilize climate change extremes.

Join Us!

Water the Trees is an open source project run by tree planting volunteers and developers at Code for America.

INSTALL GIT

  1. install git https://git-scm.com/downloads
  2. Install node with nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash
nvm install 18;

CLONE REPO

  1. Open terminal and run this
git clone https://github.com/waterthetrees/wtt_front.git;
cd wtt_front;
nvm use;

BUILD AND START JUST FRONT END

  1. To run with hot reloading (on osx/linux):
cd wtt_front;
npm install;
npm run start:dev;
  1. if you have problems with that, try running these commands in two windows:

Window 1:

npm run watch;

Window 2:

npm run start

BUILD AND START FULL STACK APP FOLLOW DIRECTIONS HERE

If you want to run wtt_server and wtt_db locally: Run one of these to connect to your localhost instead of dev.waterthetrees.com.

npm run start;
npm run start:docker;
npm run start:nodemon;

see pull-request-template for more information on commits and pr conventions

About

Water the Trees React frontend

https://waterthetrees.com

License:Creative Commons Zero v1.0 Universal


Languages

Language:JavaScript 90.7%Language:SCSS 5.8%Language:CSS 3.3%Language:HTML 0.2%Language:Dockerfile 0.1%