GroundUp is a full-stack web application with a React frontend and a Flask backend, designed to give communities a voice in shaping the future of their cities.
Try it for yourself here at the live demo link!
We believe that cities of the future are built by those who live and interact with them daily. Despite government projects impacting communities each year and issues with city infrastructure, there are currently very few ways to provide meaningful input.
This inspired us to create GroundUp, a platform that allows residents to view, support, and propose projects that impact their neighborhoods. By making decision-making more transparent, communities can influence where taxpayer money is spent and ensure local priorities are heard.
- Browse current projects in various stages, from proposal to progress
- Filter projects based on location and category
- Upvote proposals to highlight initiatives that matter most to the community
- Suggest new proposals to be reviewed by the appropriate community or government body
- Frontend: React, TypeScript, Material-UI
- Backend: Flask, Python
- Database: SQLite
- Deployment: Render, Gunicorn
Follow these steps to run the application locally.
Before you begin, ensure you have the following installed:
-
From the project root, navigate to the
flask-serverdirectory:cd flask-server -
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # Mac/Linux .\venv\Scripts\activate # Windows
-
Install the required Python packages:
pip install -r requirements.txt
-
Create an environment file for the secret key:
echo "SECRET_KEY='a-super-secret-key-for-development'" > .env
-
Run the Flask server:
python server.py
The backend server will start on
http://127.0.0.1:5000.
-
In a new terminal, navigate to the
clientdirectory from the project root:cd client -
Install the required npm packages:
npm install
-
IMPORTANT: To allow the frontend to communicate with the backend in development, add a
proxykey to yourclient/package.jsonfile:"proxy": "http://127.0.0.1:5000"
-
Run the React application:
npm start
The frontend development server will start on
http://localhost:3000and open in your browser.
The application should now be running, with the React frontend communicating with the Flask backend.