This is a beginner learning project built with Next.js and Firebase. The application allows users to track their daily mood.
Before you begin, ensure you have met the following requirements:
- You have installed Node.js and npm.
- You have a Firebase account and have access to your API credentials.
To install Daily Mood Tracker, follow these steps:
- Clone the repository:
git clone https://github.com/amSiddiqui/daily-mood-tracker.git
- Navigate to the project directory:
cd daily-mood-tracker
- Install the dependencies:
npm install
This project uses Firebase for data storage. To configure Firebase, follow these steps:
- Create a new file named .env.local in the root of the project.
- Add your Firebase API credentials to the .env.local file. It should look something like this:
APIKEY=your-api-key
AUTHDOMAIN=your-auth-domain
PROJECTID=your-project-id
STORAGEBUCKET=your-storage-bucket
MESSAGINGSENDERID=your-messaging-sender-id
APPID=your-app-id
Replace your-api-key, your-auth-domain, etc. with your actual Firebase API credentials.
To run Daily Mood Tracker, follow these steps:
- Start the development server:
npm run dev
- Open your browser and navigate to http://localhost:3000