hack4impact-utk / mission-of-hope

Repo for the Mission of hope project for Hack4impact
2 stars 0 forks source link

Mission of Hope

Overview

Mission of Hope distributes school supplies to the poorest communities in rural Appalachia. They are partnered with 42 elementary and high schools in Southeast Kentucky and Northeast Tennessee. Additionally, they give toys, food, hygiene products, and clothes to children and families. Every year, they provide direct aid to over 13,000 children and families.

This project aims to creat an inventory/donation system.

Getting Started

Prerequisites

1. Clone the repository

git clone https://github.com/hack4impact-utk/[PROJECT NAME].git

2. Open project in VS Code and accept recommended extensions

3. Install dependencies

pnpm install

4. Set the environment variables

Either ask a project lead for the .env.local file or create your own. The .env.local file should be in the root directory of the project. You need to have the following variables set:

Variable Name Description
MONGODB_URI URI for MongoDB database

5. Run the development server

pnpm dev

Building for Production

Make sure you have finished all the setup steps in the Getting Started section and you can run the development server before building for production.

1. Build the project

pnpm build

2. Run the project in production mode

pnpm start

Testing

Running tests

pnpm test

Code/PR Workflow

Project Structure