Skip to content

Forked prior to submission as our final project for Oregon State University's CS 340.

Notifications You must be signed in to change notification settings

alokbya/cs340group105

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Growing our Community

Growing our Community is a project that revolves around community gardens. This project is the culmination of twelve weeks of work by Group 105, for the CS 340 course at Oregon State University. The project is a web application that allows users to create and manage community gardens. Users can create a garden, and manage the garden by adding plots, plants, gardeners, and invoices for transactions involving both plants and gardeners.

This project is built on NodeJS, MySQL, and HandlebarsJS.

Before we get into the details of the project, let's talk about plagarism. Here's a README that discusses the common patterns used in this project. It also includes a list of citations used to build this project. These citations are also included in each file that references them.

Now back to the fun stuff.

Project Overview

  • Database: MySQL
    • ddl.sql: Contains the DDL for the database
    • dmq.sql: Contains the DML for the database
  • Backend: NodeJS
    • db-connector.js: Contains the connection pool for the database
    • app.js: Contains the main entry point for the server application
    • routes: Contains the routes for the server application
  • Frontend: HandlebarsJS
    • layouts: Contains the layouts for the views
    • partials: Contains the partials for the views
    • public: Contains the public assets for the site
      • css: Contains the CSS files for the views
      • js: Contains the JS files for the views, including helpers, event handlers, and AJAX requests

Development Guide: So you want to run the project?

Here's how you do it.

Step 1: Clone the repository

First, you need to clone the repository. You can do this by running the following command in your terminal:

git clone [repository-url]

Step 2: Install the dependencies

Next, you need to install the dependencies. You can do this by running the following command in your terminal:

npm install