Skip to content

Prem30-jr/Hack_Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

hack_tracker

πŸš€ Stack Overview

  • Frontend: React
  • Backend: Node + Express
  • Database: MongoDB
  • Authentication: Firebase Auth

πŸ“‹ Prerequisites

  • Node.js: Required for Frontend and Node.js backends.
  • Python: Required if using Flask or Django.
  • Database: Ensure MongoDB is running locally or you have a cloud connection string.

πŸ› οΈ Installation & Setup

1. Environment Setup

A local .env file has been generated with your configuration. Check the .env file in the root to ensure your keys and connection strings are correct.

2. Backend Setup

cd server
# Install dependencies (if not already installed)
npm install

# Start Server
npm start

3. Frontend Setup

cd client
# Install dependencies
npm install

# Start Development Server
npm start

πŸƒ Running the Project

  1. Open two terminal windows.
  2. In the first window, start the backend (see above).
  3. In the second window, start the frontend (see above).
  4. Open your browser to the URL shown in the frontend terminal (usually http://localhost:3000 or 5173).

πŸ“‚ Project Structure

hack_tracker/
β”œβ”€β”€ client/           # Frontend Application
β”œβ”€β”€ server/           # Backend Application
β”œβ”€β”€ .env              # Environment Variables
└── README.md         # This file

πŸ›‘ common Issues

  • Connection Refused: Check if your database is running and the connection string in .env is correct.
  • Port In Use: If port 5000 or 3000 is taken, update .env or the start scripts.

Enjoy coding! πŸš€

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors