Food planner for a healthier lifestyle powered by AI
Clone the project repository to your local machine
Run the following command to ensure all of the project dependencies are installed
npm install
Run the following command to ensure all of the Prisma is successfully initialised
npx prisma generate
.env
file in the root of the project..env
file code from the report, it is located under the section "System Development", Env file on page 44.Go to https://platform.openai.com/ and obtain a developer API Key.
Go to https://clerk.com/ and obtain a Clerk Publishable Key and Clerk Secret Key.
Go to PostgreSQL database service provider and copy the database connection URL. We recommend https://neon.tech or https://vercel.com/docs/storage/vercel-postgres.
Copy the .env.sample
and create a .env
file in the root of the project.
Paste in the missing values (DATABASE_URL, NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY, CLERK_SECRET_KEY and OPEN_AI_API_KEY)
DATABASE_URL=""
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_API_BASE_URL=http://localhost:3000
OPEN_AI_API_KEY=
Run the following command preview the Next.JS App in a web browser
npm run dev
Link: http://mealmaster-t77.vercel.app
These project has been design, created and developed by the following developers: