Zhusufeng / meal-generator

A meal planning tool
https://meal-generator-nine.vercel.app
0 stars 0 forks source link

Meal Generator

You can check it out at https://meal-generator-nine.vercel.app/

About

This is a meal planning app for families. I made it to use it myself.

This is a Next.js project bootstrapped with create-next-app. I referenced the MongoDB with Mongoose example.

Tech

Getting Started

  1. Get a copy of the repo locally
  git clone https://github.com/Zhusufeng/meal-generator.git
  1. Install the dependencies
  npm i
  1. Get MongoDB up and running.
    1. If you don't have a MongoDB and have Docker, you get an instance running using the following command:
      docker run -d -p 27017:27017 --name my-mongo-db mongo
  2. Create a database in your MongoDB. I used the GUI, MongoDB Compass, and named mine "meal-generator".
  3. Create a copy of the file env.local.example and rename it env.local. Fill out the environment variables, including your MongoDB connection string.
  4. Run the development server.
  npm run dev
  1. Go to your browser to view it at http://localhost:3000/