Skip to content

MannyD95/SymptomTracker

Repository files navigation

MySymptomTracker

WhatsApp.Video.2025-01-01.at.9.13.39.PM.mp4

A web application for tracking and monitoring personal health symptoms over time, featuring a user-friendly dashboard with calendar integration and map visualization capabilities. The Current version is a more barebones version of the app. There are a select handful of symptoms that are tracked, and there is no user profile page as of yet that allows for making changes to details such as location, email, etc. Future versions beyond this MVP will include a user profile page, more symptoms, considerations for bridging users to doctors or other users, and a mobile app.

Features

  • User authentication (register/login)
  • Interactive dashboard for symptom tracking
  • Calendar-based symptom history
  • Geographic mapping using Leaflet.js
  • Secure API with rate limiting
  • Multi-environment support (development, test, production)

Technology Stack

Frontend

  • HTML5, CSS3, JavaScript (Vanilla)
  • Leaflet.js for map integration

Backend

  • Node.js with http-server for development
  • Express.js RESTful API
  • PostgreSQL database
  • Sequelize ORM
  • JWT authentication
  • Express Rate Limiter for API protection

Prerequisites

  • Node.js (v14 or higher)
  • PostgreSQL (v12 or higher)
  • npm or yarn package manager

Installation

  1. Clone the repository:
git clone https://github.com/MannyD95/SymptomTracker.git
cd MySymptomTracker
  1. Install Backend Dependencies:
cd backend
npm install
  1. Install Frontend Dependencies:
cd frontend
npm install
  1. Configure Environment Variables:
  • Copy .env.test to .env
  • Update database credentials and other configuration as needed
  1. Setup Database:
# Create development and test databases
createdb sniffly_dev
createdb sniffly_test

Running the Application

Development Mode

  1. Start the Backend:
cd backend
npm start
  1. Start the Frontend:
cd frontend
npm start

The application will be available at:

Environment Variables

Required environment variables:

  • DATABASE_URL: PostgreSQL connection string
  • JWT_SECRET: Secret key for JWT token generation
  • Other environment-specific variables as defined in .env.test

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Regional Symptom Tracking

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors