For a start, here are a list of useful links.
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 |
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.
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.
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.
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.
Both the buyer and the seller can log out of their accounts .
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
git clone [email protected]:MICHAELMUNAVU83/greenr-frontend.git
cd greenr-frontend.git
npm install
npm start
To set up the back end, run the following commands
git clone [email protected]:MICHAELMUNAVU83/greenr-backend.git
cd greenr-backend
bundle install
rails db:create db:migrate db:seed
rails s