kevinh246 / mealmaster

Food planner for a healthier lifestyle powered by AI
http://mealmaster-t77.vercel.app
1 stars 0 forks source link
nextjs14 prisma tailwindcss typescript

Mealmaster

Food planner for a healthier lifestyle powered by AI

Tech Stack

Running the project locally

Step 1 - Clone the project

Clone the project repository to your local machine

Step 2 - Install all project dependencies

Run the following command to ensure all of the project dependencies are installed

npm install 

Step 3 - Prisma init

Run the following command to ensure all of the Prisma is successfully initialised

npx prisma generate

For Agile Software Projects Final Project Examiner: To skip step 4 to 7, please follow the steps:

Step 4 - Open AI API Key

Go to https://platform.openai.com/ and obtain a developer API Key.

Step 5 - Clerk API Key

Go to https://clerk.com/ and obtain a Clerk Publishable Key and Clerk Secret Key.

Step 6 - PostgreSQL setup

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.

Step 7 - .env setup

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=

Step 8 - Preview in browser

Run the following command preview the Next.JS App in a web browser

npm run dev

Running the project online

Link: http://mealmaster-t77.vercel.app

Credits

These project has been design, created and developed by the following developers: