Skip to content

A web application built with Next.js and Firebase that allows users to log their daily moods and visualize trends over time. This project serves as a mood tracker, helping users understand their emotional patterns.

Notifications You must be signed in to change notification settings

Talhasonu/Mood-Tracker

Repository files navigation

MY WEB PROJECT

Next.js Moods

A web application built with Next.js and Firebase that allows users to log their daily moods and visualize trends over time. This project serves as a mood tracker, helping users understand their emotional patterns.

Register

screencapture-localhost-3000-dashboard-2024-10-10-04_34_01

Login

screencapture-localhost-3000-dashboard-2024-10-10-04_34_24

Home Page

screencapture-localhost-3000-2024-10-10-04_36_03

Dashboard

screencapture-localhost-3000-dashboard-2024-10-10-04_35_45

About

Next.js Moods is a simple yet powerful mood tracker. Users can log in and update their daily mood, which is stored in a Firebase Firestore database. They can also visualize their mood history and track their mood trends over time. This project demonstrates how to combine Next.js and Firebase for seamless data management and a responsive user experience.

Features

  • User authentication with Firebase
  • Daily mood logging with an intuitive UI
  • Mood data storage in Firebase Firestore
  • Display of mood trends and averages
  • Responsive design for mobile and desktop

Technologies Used

  • Next.js
  • Firebase
  • Firestore for data storage
  • Firebase Authentication for user management
  • React
  • Tailwind CSS for styling

Getting Started

  • Prerequisites
  • Node.js and npm installed. You can download Node.js here.
  • A Firebase project. You'll need to create a project on Firebase Console and get your configuration details.

Installation

Set up your environment variables:

  • Create a .env.local file in the root directory and add your Firebase configuration. It should look like this:

  • NEXT_PUBLIC_FIREBASE_API_KEY=your-api-key

  • NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your-auth-domain

  • NEXT_PUBLIC_FIREBASE_PROJECT_ID=your-project-id

  • NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your-storage-bucket

  • NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your-sender-id

  • NEXT_PUBLIC_FIREBASE_APP_ID=your-app-id

Running the Application

  • npm run dev

  • This will start the development server. Open http://localhost:3000 in your browser to view the application.

About

A web application built with Next.js and Firebase that allows users to log their daily moods and visualize trends over time. This project serves as a mood tracker, helping users understand their emotional patterns.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published