HappyStreak is a web application designed to promote mental well-being through various challenges. Users can track their progress in physical, academic, and mindfulness challenges, helping them maintain a balanced and healthy lifestyle.
- Frontend: HTML, EJS, CSS, JavaScript, Bootstrap
- Backend: Node.js, Express
- Database: MongoDB
- Real-time Communication: Socket.io
- Containerization: Docker
To run HappyStreak locally, follow these steps:
-
Clone the repository:
git clone <https://github.com/poojadissanayake/HappyStreak.git>cd happystreak -
Install dependencies:
npm install -
Set up the MongoDB database and update the connection string in the dbConnection.js file.
-
Start the application:
npm start -
Open your browser and navigate to http://localhost:3000
To run HappyStreak using Docker follow these steps:
- Install Docker Desktop
- Login into Docker Hub
- Redirect to this url https://hub.docker.com/r/elviacorrea/sitproject
- Use this command to pull
docker pull elviacorrea/sitproject - Use this command to run
docker run -d -p 3000:3000 elviacorrea/sitproject - Open web browser and navigate to http://localhost:3000
- Register: Create an account to get started.
- Log In: Use your credentials to log in to your account.
- Explore Profile: View your profile.
- Explore Challenges: Browse through the available challenges and add them to your profile.
- Track Progress: Mark steps as completed and view your progress.