Getting Started with MongoDB CMS
Welcome to MongoDB CMS, a modern content management system built with Next.js and MongoDB. In this guide, we'll walk you through the basic setup and configuration.
Installation
To get started, clone the repository and install dependencies:
git clone https://github.com/your-repo/mongodb-cms.git
cd mongodb-cms
npm install
Configuration
Set up your environment variables in .env.local:
MONGODB_URI=your_mongodb_connection_string
NEXT_PUBLIC_SITE_URL=http://localhost:3000
Database Setup
Run the seed command to set up your initial data:
npm run seed
Running the Application
Start the development server:
npm run dev
Visit http://localhost:3000 to see your site, and http://localhost:3000/admin for the admin panel.