DairyPlus is a comprehensive Dairy Farm Management System built with advanced technologies like Next.js 15, Redux, MongoDB, and more. This production-level application includes authentication and various features to manage dairy farm operations efficiently.
- Milk Production Management: Track and manage milk production data for each cow.
- Cow Management: Add, update, and delete cow information.
- User Authentication: Secure login and registration system.
- Data Visualization: Visualize milk production data with charts and graphs.
- Responsive Design: Optimized for both desktop and mobile devices.
- Next.js 15: React framework for server-side rendering and static site generation.
- Redux: State management library for managing application state.
- MongoDB: NoSQL database for storing application data.
- MUI (Material-UI): React component library for building user interfaces.
- Formik: Form library for handling form state and validation.
- Yup: Schema builder for form validation.
- Axios: Promise-based HTTP client for making API requests.
- Node.js (version 14 or higher)
- npm or yarn
- Clone the repository:
git clone https://github.com/your-username/DairyPlus.git
cd DairyPlus- Install dependencies:
npm install
# or
yarn installStart the development server:
npm run dev
# or
yarn dev
# or
pnpm devOpen http://localhost:3000 with your browser to see the result.
Build the application for production:
npm run build
# or
yarn buildStart the production server:
npm start
# or
yarn startCreate a .env.local file in the root of your project and add the following environment variables:
MONGODB_URI=your_mongodb_connection_string
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your_nextauth_secret
To learn more about the technologies used in this project, take a look at the following resources:
- Next.js Documentation - Learn about Next.js features and API.
- Redux Documentation - Learn about Redux for state management.
- MongoDB Documentation - Learn about MongoDB NoSQL database.
- MUI Documentation - Learn about Material-UI for building user interfaces.
- Formik Documentation - Learn about Formik for form handling.
- Yup Documentation - Learn about Yup for form validation.
- Axios Documentation - Learn about Axios for making HTTP requests.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.