acmjec / Hacktober2024-Web_Development--GoHacktober

GoHacktober: GoHacktober is a web-based platform designed to inspire and encourage open-source contributions during a month-long celebration of software development. We plan to create a version of HacktoberFest specifically for our ACM-JEC club. With GoHacktober, developers can easily register, submit their contributions, and track their progress.
https://hacktober2024-web-development-go-hacktober.vercel.app/
7 stars 23 forks source link
hacktoberfest hacktoberfest2024 javascript

πŸŽƒ Hacktoberfest 2024 - ACM JEC πŸŽƒ

Welcome to the Hacktoberfest 2024 repository by ACM JEC! πŸ™Œ Hacktoberfest is a month-long celebration of open-source software run by DigitalOcean, GitHub, and other partners. It is open to everyone, and all skill levels are welcome to participate. The goal is to encourage contributions to open-source projects and foster collaboration in the tech community.

🌱 How to Get Started

To participate in Hacktoberfest with ACM JEC, follow these steps:

  1. Register on Hacktoberfest's official website.
  2. Fork and clone this repository to start contributing.
  3. Browse through the open issues, pick one, and submit a pull request.
  4. Contribute and have fun while learning! πŸŽ‰

πŸš€ Getting Started with Development

This project is developed using Vite + React. Follow the steps below to clone the repository, set up the development environment, and start working on your contributions.

1. Prerequisites

Make sure you have the following installed on your machine:

2. Cloning the Repository

Follow these steps to clone the repository and set it up locally:

# Clone the repository
git clone https://github.com/acmjec/Hacktober2024-Web_Development--GoHacktober-.git

# Navigate into the project directory

# Install dependencies
npm install

# Start the development server
npm run dev

The development server will be running at http://localhost:5173. You can now view the web application in your browser.


🎨 Design Implementation Guide

The design for this project is provided in Figma. To implement it: image

  1. Access the Design:
    • Get the Figma design file from the Figmalink
  2. Analyze the Design:
    • Break down the design into reusable components such as Header, Footer, Button, Card, etc.
    • Identify global styles and themes (like colors, fonts, and spacings) that can be applied throughout the project.
  3. Component Creation:
    • Create individual components for each reusable part of the design (refer to the folder structure below).
    • Use Tailwind CSS for styling, and ensure the design is responsive.

Best Practices for Implementing the Design


πŸ“‚ Recommended Folder Structure

Following a structured and organized folder layout is crucial for scaling the project and keeping it maintainable. Below is a recommended folder structure for a Vite + React project.

/
β”œβ”€β”€ public/                     # Public assets (favicons, images)
β”œβ”€β”€ src/                        # Main source code
β”‚   β”œβ”€β”€ assets/                 # Images, icons, fonts, etc.
β”‚   β”œβ”€β”€ components/             # Reusable components
β”‚   β”‚   β”œβ”€β”€ Button/             # Button component
β”‚   β”‚   β”‚   β”œβ”€β”€ Button.jsx
β”‚   β”‚   β”‚   └── index.js
β”‚   β”‚   β”œβ”€β”€ Navbar/             # Navbar component
β”‚   β”‚   └── ...                 # Other components
β”‚   β”œβ”€β”€ pages/                  # Page components
β”‚   β”‚   β”œβ”€β”€ Home/               # Home page
β”‚   β”‚   β”œβ”€β”€ Dashboard/          # Dashboard page
β”‚   β”‚   └── ...                 # Other pages
β”‚   β”œβ”€β”€ services/               # API calls and service functions
β”‚   β”œβ”€β”€ store/                  # State management (e.g., Redux, Zustand)
β”‚   β”œβ”€β”€ styles/                 # Global and shared styles
β”‚   β”œβ”€β”€ utils/                  # Utility functions and helpers
β”‚   β”œβ”€β”€ App.jsx                 # Main App component
β”‚   β”œβ”€β”€ main.jsx                # Vite's entry point
β”‚   └── index.css               # Global styles
β”œβ”€β”€ .gitignore                  # Files to ignore in the repository
β”œβ”€β”€ package.json                # Project dependencies and scripts
└── vite.config.js              # Vite configuration file

Explanation

Best Practices for Components

  1. Functional Components: Use functional components with hooks (useState, useEffect, etc.) for building UIs.
  2. Component Isolation: Each component should have its folder containing the component logic (.jsx), styles (.module.css), and a potential test file.
  3. Atomic Design Principles: Break down components into atoms (smallest parts like buttons), molecules (combination of atoms), organisms (sections), templates, and pages.

πŸ‘©β€πŸ’» Contribution Guidelines

  1. Fork this repository.
  2. Commit your changes with meaningful commit messages.
  3. Push your changes to the branch.
  4. Create a Pull Request (PR) and mention the issue number if applicable.

πŸŽ‰ Happy Coding ! πŸŽ‰