Skip to content
generated from comp1800/web_template

Ecocentives is a platform designed to motivate and reward individuals for taking environmentally-friendly actions in their daily lives. 🌱

Notifications You must be signed in to change notification settings

gdcho/ecocentives

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Ecocentives

Project Description

A web-based application to encourage Canadians to practice environmentally-friendly habits with an incentive program, allowing users to complete recurring tasks while competing with one another to collect points for reward redemption.

Landing

Contributors

David Gin Sohee
David Cho Gin Lu Sohee Hwang
Hi, my name is David. I like the environment. Hi, my name is Gin. I am looking forward to the outcome of this project. Hi, my name is Sohee. This project is interesting.

Technologies and Resources Used

HTML5 CSS3 JavaScript Bootstrap Firebase Google Cloud NodeJS

Complete setup/installion/usage

Installation:

  • Download this entire project folder and navigate to the root folder using Command Prompt or Terminal.
git clone https://github.com/gdcho/1800_202310_BBY10
  • Install node.js by running this in Command Prompt or Terminal
npm install -g npm (Mac)
npm install express (Windows)
  • Check to make sure node was installed successfully
node -v
  • Check to make sure npm was installed successfully
npm -v
  • Navigate to the root folder for this app and run this in Command Prompt or Terminal
node node.js
  • Open a web browser and type this in the address bar
localhost:8000 or 127.0.0.1:8000

Instructions:

  • Create an account or login with your existing credentials.
  • Update profile information on profile page.
  • Browse through the tasks list and select tasks to complete.
  • Upload proof of completion for each task to earn points.
  • Browse through the rewards and select a reward to redeem.

Known Bugs and Limitations

Here are some known bugs:

  • Task completion loophole by uploading an image with keyword.
  • Task refreshes on reload rather being updating every 24 hours.

Features for Future

What we'd like to build in the future:

  • Communities and forums for users to share their eco-actions for the day.
  • Implementing OpenAI 4.0 API for task image recognition.
  • Connect notification settings to mobile.

Contents of Folder

 Top level of project folder:

/1800_202310_BBY10
β”œβ”€β”€ app                             # Firebase and HTML files
β”œβ”€β”€ public                          # CSS, JS, and img files
β”œβ”€β”€ text                            # Navbar and footer files
β”œβ”€β”€ .gitignore                      # Git ignore file
β”œβ”€β”€ README.md                       # Project description
β”œβ”€β”€ node.js                         # Serves the website on Port 8000
β”œβ”€β”€ package-lock.json               # JSON files
└── package.json                    # JSON files

It has the following subfolders and files:
β”œβ”€β”€ app/                            # Firebase and HTML files
β”‚   β”œβ”€β”€ firebase                    # Firebase initialization
β”‚   └── html                        # HTML files
β”‚
β”œβ”€β”€ public/                         # CSS, JS, and img files
β”‚   β”œβ”€β”€ css                         # CSS files
β”‚   β”œβ”€β”€ img                         # img files
β”‚   └── js                          # JS files
β”‚
└── text/                           # HTML files for footer and nav
    β”œβ”€β”€ footer.html                 # footer for web
    β”œβ”€β”€ footer_after_login.html     # footer for web after login
    β”œβ”€β”€ nav_after_login.html        # navigation after login
    β”œβ”€β”€ nav_before_login.html       # navigation before login
    └── nav_mobile.html             # footer for mobile after login

About

Ecocentives is a platform designed to motivate and reward individuals for taking environmentally-friendly actions in their daily lives. 🌱

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •