Market4Farmers: Connecting Farmers To Customers In Need
This project is design to provide members of the public by using Prince George API database with convenient access to information about Prince George farmer markets locations, and map direction.
Our target browsers are desktop-based web browsers. Fully functional using Chrome, Firefox, Safari, and Edge. Opera/IE may encounter some issues.
This project is stored in a Github repository, and you may fork it to your own repository and make modifications to it when cloned to your local repository. You may either choose to install GitHub Desktop or Git to clone it to your local repository. For GitHub Desktop installation and documentation, click here. For Git installation, click here, and for Git repository instructions, click here
Once you have cloned this project from GitHub into your local repository, you would need to install Node.js , npm, and Git in order for this project to work.
- To download and install Node.js, click here. It should be noted that npm will automatically be installed along with node.js.
- If you haven't installed Git, click here
Once you have installed Node.js, npm, and Git, open up gitbash console and navigate to your local repository that contains this project. Run the following code to navigate to your local repository.
cd {project repository path}
Install all node dependencies inside the application directory
npm install
Start the application server
npm run start -watch
Type in your internet browser
localhost: 4000
Contains user manual and final report.
Front-end folder that contains images, css, and js files.
Back-end folder that contains the routes folder, server, database, SQL Lite
Introduces and explains our project.
Contains project descriptions, properties, scripts, dependencies, license information, and more.
Records specific dependencies' version number that our application needs
As of right now, there is are no functioning API in the server that get data from the PG County data base. We simply hosted all the data on our front end. Another issue is that the filtering function on the home page in not functioning. Their submission on the DATA page are not stored anywhere either. If you were to continue this project, creating a GET API for the PG County Data would be a priority. From there you can create a POST endpoint to place the data in a sqlite database. Once you do that, you can use a PUT endpoint to pass the data to the front end. By solving this problem, figuring out the issue of the filtering would be much easier as the data will be in a stadardized form. You can also create a table for the submission data and create new aggregate tables with the already existing data. These are just our reccomendations for next steps. Please develop new and innovative uses and implementations for our application!