A map e-commerce web all that allows locals gain direct contact with trash sellers over the internet.
It allows waste buyers and sellers meet for a possible waste trade. Buyers can be added to the map, either as a company or as an individual.
It provides that efficient cycle of production and cunsumption needed in many rural communities across Nigeria.
Buyers visit this web to find trash buyers, either a company or an individual. These buyers are saved as map pointers across their various location on the map, so to get basic infrmation about what kind of waste they buy, these map pointers have a pop up block conveying these necessary details:
- name
- address
- specialization
- link to website
- Phone Number
Table of Contents
- Leaflet JavaScript map Api
- Address from to lat, lng
- Express JS server
- APP engine(unavailable for now due to billing issues)
- NeDb database
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
This is an example of how to list things you need to use the software and how to install them.
- npm
npm install npm@latest -g
-
Get a free API Key at https://rapidapi.com/apishub/api/address-from-to-latitude-longitude/
-
Clone the repo
git clone https://github.com/Emmanuelmelvin/TrashIt.git
-
Install NPM packages
npm install
-
Create a
.envfile and enter api keyAPI_KEY = 'ENTER YOUR API';
On the project directory, run the server.js file to set up express environment.
$ node server.jsIf all set successfully, app will run at port 3000
$ listening at 3000Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt for more information.