A modern web application built with Next.js and Tailwind CSS for managing global conflict information, events, missions, and community content.
- Frontend: Next.js 13, React 18, TypeScript
- Styling: Tailwind CSS, DaisyUI, Flowbite
- Backend: Node.js, Express
- Database: MongoDB
- Authentication: NextAuth.js
- Media: YouTube Integration, Imgur API
Before you get started, make sure you have the following installed on your system:
- Node.js and npm (Download from nodejs.org)
- MongoDB Community Edition (Download from mongodb.com)
We recommend using Yarn as the package manager for this project. Install it globally using npm:
npm install -g yarnNavigate to the project directory and install all dependencies:
yarn installMake sure MongoDB Community Edition is installed and running on your system. Then, set the MONGO_HOST environment variable:
On Windows (PowerShell):
$env:MONGO_HOST="mongodb://localhost:27017"On Windows (Command Prompt):
set MONGO_HOST=mongodb://localhost:27017On macOS/Linux:
export MONGO_HOST="mongodb://localhost:27017"Or create a .env.local file in the project root:
MONGO_HOST=mongodb://localhost:27017
The following npm scripts are available in this project:
| Command | Description |
|---|---|
npm run dev |
🏃 Start the development server at http://localhost:3000 |
npm run build |
🔨 Build the application for production |
npm run start |
⚡ Start the production server |
npm run startCustom |
🎯 Start using custom server configuration |
npm run lint |
✅ Run ESLint to check code quality |
To start the development server:
npm run devThe application will be available at http://localhost:3000. The page will hot-reload when you make changes.
To build and run the application in production mode:
npm run build
npm run startFor a custom server setup, use:
npm run startCustom├── _guides/ # Guide documentation files
├── components/ # Reusable React components
├── interfaces/ # TypeScript interfaces
├── layouts/ # Page layout components
├── lib/ # Utility functions and helpers
├── middleware/ # Authentication and custom middleware
├── pages/ # Next.js pages and API routes
├── public/ # Static assets
├── styles/ # Global stylesheets
├── package.json # Project dependencies
└── tsconfig.json # TypeScript configuration
When contributing to this project, please ensure that:
- Your code follows the project's ESLint configuration
- You test your changes locally before submitting
- You update relevant documentation
This project is private and proprietary.