Skip to content

shourya0523/Pact

Repository files navigation

Pact - Habit Tracker App

Getting Started

Backend Setup

  1. Navigate to backend and create virtual environment:

    cd Backend
    python -m venv venv
    source venv/bin/activate  # Windows: venv\Scripts\activate
  2. Install dependencies:

    pip install -r requirements.txt
  3. Configure environment:

    cp .env.example .env
    # Edit .env with your MongoDB connection string and other settings
  4. Start the server:

    python main.py

    Server runs at: http://localhost:8000 API Documentation: http://localhost:8000/docs

Frontend Setup

  1. Install dependencies:

    npm install
  2. Start the development server:

    npm start
  3. Run on specific platforms:

    npm run android # Android emulator
    npm run ios     # iOS simulator
    npm run web     # Web browser

Prerequisites

  • Node.js 18+
  • Python 3.8+
  • MongoDB (local or cloud instance)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors