Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
KrishGaur1354 authored Sep 9, 2023
0 parents commit 3573d33
Show file tree
Hide file tree
Showing 9 changed files with 1,393 additions and 0 deletions.
Binary file added CropSync-main (1).zip
Binary file not shown.
24 changes: 24 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.

In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to <https://unlicense.org>
48 changes: 48 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# CropSync

CropSync is a user-friendly website designed to assist farmers in selecting the right crops for their fields and providing essential information throughout the farming process. This project aims to simplify the decision-making process for farmers by offering valuable insights and data-driven recommendations.

## Features

CropSync offers the following features:

1. **Crop Selection**: Farmers can input their field parameters, such as location, soil type, climate, and available resources. CropSync utilizes this information to suggest suitable crops that are likely to thrive in the given conditions.

2. **Crop Information**: Detailed information about each recommended crop is provided, including growth requirements, planting techniques, optimal seasons, pest and disease management, and estimated yield potential. This empowers farmers with the knowledge needed to make informed decisions.

3. **Farming Calendar**: CropSync generates a personalized farming calendar based on the selected crops and local weather conditions. The calendar highlights important dates for activities like planting, irrigation, fertilization, and harvest. It serves as a convenient reminder and helps farmers stay organized throughout the farming season.

## Installation

To run CropSync locally, follow these steps:

1. Clone the repository: `git clone https://github.com/your-username/CropSync.git`
2. Install the required dependencies: `npm install`
3. Set up the database connection by configuring the database credentials in `config.js`.
4. Run the application: `npm start`
5. Access the website in your browser at `http://localhost:3000`

Note: Make sure you have Node.js and npm installed on your system.

## Technologies Used

CropSync is built using the following technologies:

- Frontend: HTML, CSS, JavaScript
- External APIs: Weather data API

## Contribution

We welcome contributions to improve CropSync and make it more useful for farmers. If you would like to contribute, please follow these guidelines:

1. Fork the repository and create a new branch for your feature or bug fix.
2. Make your changes and ensure they adhere to the project's coding standards.
3. Write unit tests for any new functionality or changes.
4. Submit a pull request, describing your changes and the problem they solve.
5. Your pull request will be reviewed, and feedback or changes may be requested.

Please note that all contributions are subject to the project's code of conduct.

## License

CropSync is released under the [MIT License](https://opensource.org/licenses/MIT). You are free to use, modify, and distribute the code as per the terms of the license.
Binary file added cropsync (cfg presentation).pdf
Binary file not shown.
Binary file added cropsync.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon-crop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
136 changes: 136 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Crop Selector</title>
<link rel="icon" type="image/x-icon" href="favicon-crop.png">
<link rel="mask-icon" href="/docs/5.2/assets/img/favicons/safari-pinned-tab.svg" color="#712cf9">
<link rel="apple-touch-icon" href="/docs/5.2/assets/img/favicons/apple-touch-icon.png" sizes="180x180">
<link rel="stylesheet" href="style.css">
</head>
<body>

<nav id="nav" class="nav">
<div class="container1">
<div class="logo">
<a href="#home">
<img src="cropsync.png" alt="CropSync" width="175px">
</a>
</div>
<div id="mainListDiv" class="main_list">
<ul class="navlinks">
<li><a href="#">Weather</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div>
<span class="navTrigger">
<i></i>
<i></i>
<i></i>
</span>
</div>
</nav>

<div id="page-container">
<div id="content-wrap">

<section class="home">
</section>
<div style="height: 1000px;">
<div id="weather_wrapper">
<div class="weatherCard">
<div class="currentTemp">
<span class="temp">30&deg;</span>
<span class="location">Delhi</span>
</div>
<div class="currentWeather">
<span class="conditions">&#xf00d;</span>
<div class="info">
<span class="rain">2.5 MM</span>
<span class="wind">6 KM/H</span>
</div>
</div>
</div>
</div>
<form>
<div class="parent-container">
<div class="dropdown">
<a>Enter Crop Details</a>
<label for="category">Select a category:</label>
<select id="category">
<option value="kharif">Kharif</option>
<option value="rabi">Rabi</option>
</select>
</div>
<div class="dropdown">
<label for="crop">Select a crop:</label>
<select id="crop"></select>
<label for="startDate">Start Date:</label>
<div class="input-container">
<input type="date" id="startDate">
<button id="calculateButton">Calculate</button>
</div>
</div>
<button id="enterButton" type="button">Enter</button>
<div id="result"></div>
<div class="resume" id="resume">
<div class="col-lg-6">
<h3 class="resume-title">Step-by-Step Process:</h3>
<div class="resume-item">
</div>
</div>
</div>
</div>
</form>


<section id="about" class="about">

<div class="container" data-aos="fade-up">
<div class="section-title">
<h2>About Us </h2>
<!-- <img src="cropsync.png" alt="CropSync" width="125px"> -->
<p class="section-description">
CropSync is a cutting-edge technology company dedicated to revolutionizing the way farmers track and manage their crops. We understand the challenges faced by modern farmers and aim to provide them with innovative solutions to enhance their productivity and efficiency. form farming practices and cultivate a more sustainable future. Experience the power of CropSync and unlock the true potential of your crops.
</p>
</div>
</div>

</section>
</div>

<section id="contact" class="contact">

<footer class="footer">
<ul class="social-icon">
<li class="social-icon__item"><a class="social-icon__link" href="#">
<ion-icon name="logo-facebook"></ion-icon>
</a></li>
<li class="social-icon__item"><a class="social-icon__link" href="#">
<ion-icon name="logo-twitter"></ion-icon>
</a></li>
<li class="social-icon__item"><a class="social-icon__link" href="#">
<ion-icon name="logo-linkedin"></ion-icon>
</a></li>
<li class="social-icon__item"><a class="social-icon__link" href="#">
<ion-icon name="logo-instagram"></ion-icon>
</a></li>
</ul>
<ul class="menu">
<li class="menu__item"><a class="menu__link" href="#">Home</a></li>
<li class="menu__item"><a class="menu__link" href="#">About</a></li>
<li class="menu__item"><a class="menu__link" href="#">Services</a></li>
<li class="menu__item"><a class="menu__link" href="#">Team</a></li>
<li class="menu__item"><a class="menu__link" href="#">Contact</a></li>

</ul>
<p>&copy;2023 CropSync | All Rights Reserved</p>
</footer>
<script type="module" src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"></script>
</section>
</div>
<script src="scripts.js"></script>
</body>
</html>
Loading

0 comments on commit 3573d33

Please sign in to comment.