Skip to content

dhysdrn/nursing-chatbot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

149 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Thee-AIdvisors

This should be a living document! If you encounter problems or missing instructions, please add them to this document in a PR.

To contribute, please fork your own copy.

Table of Contents

  1. About the Project
  2. Local Development
  3. Contributing to the Project
  4. Documentation

About the Project

This repository holds the code written by the team Thee AIdvisors (Noah Lanctot, Lois Lanctot, Dhiyaa Nazim, Mason Sain, Abdul Rauoof) for Green River College's course SDEV 485 and 486 (Software Development Capstone 1 and 2) for Winter and Spring 2025.

Tech stack:

Local Development Environment Setup

  1. Clone the project repository locally. git clone https://github.com/dhysdrn/nursing-chatbot.git
  2. Have the package manager npm installed (npm).
  3. Create a .env file in the frontend with this variable: {VITE_FETCH_URL="http://localhost:5002/ask"}.
  4. Create a .env file in the frontend with this variable using the OpenAI API key you generate: {AI_API_KEY=""}.
  5. In the terminal/command line, navigate to the backend folder and install all backend dependencies with npm install.
  6. Within the same backend folder, run the project with node server.js.
  7. In the terminal/command line, navigate to the frontend folder and install all frontend dependencies with npm install.
  8. Within the same frontend folder, run the project with npm run dev.
  9. Once both the backend and frontend are running, you can access the full application by visiting the frontend URL

Contributing to the Project

  1. Pull the Latest Changes
    Before starting any work, ensure your local repository is up to date with the latest changes:
git checkout main  # Switch to the main branch
git pull origin main  # Pull the latest changes
  1. Create a New Branch
    Create a new branch for your changes (choose a descriptive name):
git checkout -b your-branch-name
  1. Install Dependencies
    If you haven't already installed the dependencies, do so now:
npm install
  1. Make Your Changes
    Make the necessary changes in the codebase.
  2. Commit Your Changes
    Commit your changes with a clear, descriptive message:
git commit -m "Describe your changes here"
  1. Push Your Changes
    Push your changes to the repository:
git push origin your-branch-name
  1. Submit a Pull Request
  • Go to the original repository on GitHub.
  • Click on Pull Requests and then New Pull Request.
  • Select your branch and submit the request.
  • Add a description of your changes and request a review from a team member.

Contribution Guidelines

  • Ensure your code follows project standards and is well-documented.
  • Test your changes before submitting a pull request.
  • Practice submitting pull requests and avoid committing directly to the main branch to prevent conflicts.

Documentation

Project Structure

thee-aidvisors/
│-- backend/    # Node.js backend
│-- frontend/   # React Vite frontend
│-- README.md   # Project documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 82.8%
  • CSS 16.7%
  • HTML 0.5%