Skip to content

DohrMelanie/MongoDBBlog

Repository files navigation

Rich Money Blogs

A simple blog app built with Next.js 14, MongoDB, Tailwind CSS, TypeScript, and JWT.

Technologies

  • Next.js 14
  • MongoDB
  • Tailwind CSS
  • TypeScript
  • JWT
  • Flowbite
  • Nodemailer

Getting Started

  • First install the dependencies:
npm install
  • Then, run the development server:
npm run dev

Important

  • If you try to deploy on production, make sure to set the JWT_SECRET environment variable in the .env file.

    • Otherwise the app will use a default secret that is not secure.
  • The app uses MongoDB to store the users.

    • Make sure to create a blog database (using the provided script) on your MongoDB instance and add the MONGODB_URI environment variable to your .env file.
    • The MONGODB_URI should point to the URI of your MongoDB instance.
    • If you don't have a MongoDB instance, you can use the free tier of MongoDB Atlas or run one via Docker.

Credits

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published