Developed an interactive platform that provides users with AI-powered feedback to improve their community's sustainable practices. Users answer multiple choice questions and receive actionable suggestions to help create a more sustainable environment. Recieved YRHacks 2022 Sustainable Communities award for the project.
Front-end: React (Vite), Tailwind CSS
Back-end: Flask (using Cohere API)
Data Storage: JSON
-
Clone the repository
git clone https://github.com/username/project-name.git cd Community-Creator -
Install Dependencies Create React project using Vite
npm create vite@latest npm install
-
Install Tailwind CSS and AOS
npm install -D tailwindcss postcss autoprefixer npx tailwindcss init npm install --save aos@next
-
Activate and Replace Cohere API Key
- Visit https://dashboard.cohere.com/ to get key.
- Change line 41 in server.py.
-
Install Flask and Cohere
pip install flask cohere
-
Activate Python Virtual Environment
cd flask-server python -m venv venv source venv/bin/activate # macOS/Linux venv\Scripts\activate # Windows
- On three seperate terminals in the main directory, run the following commands.
npm run dev npm run server python3 server.py
- Launch http://localhost:3000/.
This project is licensed under the MIT License.