Welcome to the Chicken Dashboard Project! This README will guide you through the setup and usage of the project, which is built with ReactJS, TailwindCSS, MongoDB, and Express.
- Project Overview
- Features
- Prerequisites
- Installation
- Usage
- Project Structure
- Available Scripts
- Contributing
- License
- Contact
The Chicken Dashboard is a web application designed to manage and monitor chicken farming activities. It provides a user-friendly interface to keep track of various aspects such as chicken health, feeding schedules, and farm inventory.
- Dashboard: Overview of the farm's current status.
- Chicken Management: Add, update, and delete chicken records.
- Feeding Schedule: Manage feeding times and amounts.
- Inventory Management: Track supplies and equipment.
- Reports: Generate reports on farm activities.
Before you begin, ensure you have the following installed:
- Node.js
- npm or yarn
- MongoDB
-
Clone the repository:
git clone https://github.com/yourusername/chicken-dashboard.git cd chicken-dashboard
-
Install server dependencies:
cd server npm install
-
Install client dependencies:
cd ../client npm install
-
Set up environment variables:
Create a .env file in the server directory and add the following:
PORT = 5000; MONGO_URI = your_mongo_db_connection_string;
-
Start the server:
cd server npm start
-
start the client:
cd client npm start
-
Open the application: Navigate to http://localhost:3000 in your browser.
chicken-dashboard/
├── client/
│ ├── public/
│ ├── src/
│ │ ├── components/
│ │ ├── pages/
│ │ ├── App.js
│ │ ├── index.js
│ │ └── ...
│ ├── tailwind.config.js
│ └── ...
├── server/
│ ├── models/
│ ├── routes/
│ ├── controllers/
│ ├── server.js
│ └── ...
├── README.md
└── package.json
In the client directory, you can run :
npm start
: Starts the development server.npm build
: Builds the app for production.npm test
: Runs tests. In the server directory, you can run:npm start
: Starts the Express server.npm test
: Runs server-side tests.
Contributions are welcome! Please open an issue or submit a pull request if you have any improvements or suggestions.
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
. - Make your changes and commit them:
git commit -m 'Add some feature'
. - Push to the branch:
git push origin feature/your-feature-name
. - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or suggestions, feel free to reach out to:
- Ayoub Dahmen - ayoub1dahmen@gmail.com
- Github Issues