Skip to content

SriSomanaath/community

Repository files navigation

Community Page Application

This repository contains the source code for a community page application built using Next.js with TypeScript. The application provides community-driven features such as hiring, and jobs, all wrapped in a modular and scalable structure.

Features

  • Hire Talent: A platform for hiring managers to find and connect with suitable candidates.
  • Jobs Section: Offers detailed job listings and mock interview preparation resources.

Project Structure

Key Directories

app/

  • Contains the main pages and layouts for core features like "Get Certified," "Hire Talent," and "Jobs."
  • Follows a structured approach with page.tsx and layout.tsx for each section.
  • Supports dynamic routes (e.g., [details]) to render unique content dynamically based on user actions.

components/

  • Houses reusable UI components like the navbar, footer, and heroSection.
  • Includes specialized components such as dashboardNavBar for authenticated users.

hooks/

  • Contains custom React hooks for managing application state, API calls, and utility functions.

styles/globals.css

  • Defines global styles to ensure consistent design across the application.

Pages

Hire Talent

  • Workflow: Hiring managers can search for candidates, filter profiles based on skills, and message suitable candidates directly. Detailed resumes are available for download.
  • CTA Button: "Find Top Talent"
  • UTM Parameters:
    • utm_source: community_page
    • utm_medium: hiring_cta

Jobs

  • Workflow: Users can browse job listings, filter them based on location and skills, and apply directly. Additional resources for mock interviews are available to prepare for applications.
  • CTA Button: "Explore Jobs"
  • UTM Parameters:
    • utm_source: community_page
    • utm_medium: jobs_cta

Setup Instructions

Prerequisites

Ensure you have the following installed:

  • Node.js >= 16
  • npm or Yarn
  • TypeScript

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd community-page
  2. Install dependencies:

    npm install
  3. Create a .env file and add the required environment variables:

    NEXTAUTH_URL=<your-site-url>
    DATABASE_URL=<your-database-url>
    
  4. Run the development server:

    npm run dev
  5. Visit the application at http://localhost:3000.


Workflow for Updating the Repository

  1. Create a New Branch

    git checkout -b feature/your-feature-name
  2. Update or Add Files

    • Modify existing components/pages or create new ones under the appropriate directories.
    • Use modular and reusable practices to maintain consistency.
  3. Test Locally Run the development server to test your changes:

    npm run dev
  4. Commit Changes Use meaningful commit messages:

    git add .
    git commit -m "Add feature X or fix Y"
  5. Push to Remote Push your branch to the remote repository:

    git push origin feature/your-feature-name
  6. Create a Pull Request Open a pull request on GitHub and include a clear description of the changes.


Technologies Used

  • Frontend: Next.js, TypeScript, CSS Modules
  • Backend: Spring Boot (for APIs)
  • Database: MySQL
  • Real-time Updates: Socket.io
  • Authentication: NextAuth

Contributing

  1. Fork the repository.
  2. Clone your fork locally and follow the setup instructions.
  3. Make your changes and create a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors