Code Monkey home page Code Monkey logo

greenr-frontend's Introduction

Green Logo Greenr App

Brief Description

For a start, here are a list of useful links.

  1. Front end as deployed on Netlify
  2. Back end which is deployed on Railway.app
  3. Figma Designs

Greenr is an application whereby the carbon emmitters can purchase carbon credits .The carbon credits allows them to emit a certain percentage of Carbon Dioxide or other green-house gases to the environment.The ultimate goal is to reduce emission of the carbon Dioxide and green-house gases to the environment.

Username Password
seller1 123
seller2 123
buyer1 123
buyer2 123
Admin 123

App Features

Sign up

To sign up, you will be required to enter your user name,email, password, and role. Some of these information are required before the form is submitted in the first place.Onc you have signed up, you will be taken to the home page.

Signup page

Sign in

You can sign in with your username and password. Once you sign in, your will be taken to the home page where you can see a list of available carbon credits if you are a buyer or a list of available carbon credits that are yet to be purchased if you are a seller.

Login

Buy Carbon Credits

You can buy carbon credits when you have an a buyer account. The buyer should have some amount of money for them to purchase the carbon credits.Once you purchase the carbon credits it will not be availble for sale anymore and will be removed from the sellers page.

buy credits

Sell Carbon Credits

A seller can be able to register new carbon credits . Once they have registered the Admin approves it and it is available for the buyers to purchase. The admin verifies the carbon credits then approves it.

MY Carbon Credits

Log out

Both the buyer and the seller can log out of their accounts .

Setup Requirments

Incase you want to run it in your local machine, you will need the following;

  • ruby and rails
  • sql server
  • React

Run the following commands to set up the front end

  1. git clone [email protected]:MICHAELMUNAVU83/greenr-frontend.git
  2. cd greenr-frontend.git
  3. npm install
  4. npm start

To set up the back end, run the following commands

  1. git clone [email protected]:MICHAELMUNAVU83/greenr-backend.git
  2. cd greenr-backend
  3. bundle install
  4. rails db:create db:migrate db:seed
  5. rails s

greenr-frontend's People

Contributors

michaelmunavu83 avatar mercy-cheruiyot avatar benaiah-ke avatar afandielomda avatar realmunene avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.