-
Install the dependencies.
npm install
-
Make
.env.localfile and add your Gemini API key.GEMINI_API_KEY=your_gemini_api_key -
Run the development server.
npm run dev
Open http://localhost:3000 with your browser to see the result.
You can attach preset images on your diary instead.
Replace images under public/images with your own.
Filenames should be the same as the emotions defined in src/app/utils/emotions.ts.
now in progress...
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.