Skip to content

KarnamShyam1947/onlyclick-recuritment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 

Repository files navigation

πŸš€ Frontend Developer Assignment

πŸ“Œ Tech Stack

  • React.js – Component-based UI library.
  • JavaScript (ES6+) – Core programming language.
  • React Router – Client-side navigation.
  • Axios – HTTP client for API communication.
  • Context API – Global state management.

πŸ“ Task Breakdown

1️⃣ Project Setup

  • βœ… Initialize a React project.

2️⃣ Authentication System

  • βœ… Signup & Login Pages

    • Form validation using react-hook-form or plain React state.
    • Password validation (min length, special characters).
    • Store JWT token securely (localStorage / sessionStorage).
    • Implement error handling for incorrect logins.
  • βœ… AuthContext API

    • Create an authentication context.
    • Store and manage user authentication state globally.
  • βœ… Protected Routes

    • Ensure unauthorized users cannot access the dashboard.
    • Redirect unauthenticated users to the login page.

3️⃣ Backend Integration

  • βœ… Use Axios for API communication
    • Implement API requests (POST /signup, POST /login, GET /dashboard).
    • Properly handle API responses & errors.
    • Implement loading states and error messages.

4️⃣ Dashboard Page

  • βœ… Fetch & Display Protected User Data

    • Make an authenticated request to fetch user-specific data.
    • Display data in a user-friendly manner (table, cards, etc.).
  • βœ… Logout Feature

    • Clear JWT token and redirect to the login page.

5️⃣ State Management

  • βœ… Use React Context API (or Redux) to:
    • Store the authenticated user’s data.
    • Provide global authentication state.

βœ… Deliverables

βœ”οΈ Fully working React frontend with:

  • Login & Signup pages (form validation).
  • AuthContext to manage user authentication.
  • Protected Routes (users must log in to access the dashboard).
  • Backend Integration via Axios.
  • Proper Routing using React Router.

🎯 Bonus Challenge (Optional)

πŸ”₯ Dark Mode Support – Implement a theme switcher.
πŸ”₯ Animations – Use Framer Motion or CSS animations for smooth UI transitions.


πŸ›  Backend Developer Assignment

πŸ“Œ Tech Stack

  • Node.js – Backend runtime.
  • Express.js – Fast, minimalist backend framework.
  • MongoDB – NoSQL database for storing user data.
  • JWT (JSON Web Token) – Secure user authentication.

πŸ“ Task Breakdown

1️⃣ Project Setup

  • βœ… Initialize an Express.js backend
  • βœ… Configure Express Middleware
    • express.json() for parsing JSON.
    • cors for handling cross-origin requests.

2️⃣ User Authentication

  • βœ… Implement Signup & Login API Endpoints

    • /signup – Register a new user.
    • /login – Authenticate and return JWT token.
  • βœ… User Schema (MongoDB)

    • Fields: name, email, password (hashed), createdAt.
  • βœ… JWT Authentication

    • Generate a JWT token upon successful login.
    • Middleware to protect private routes.

3️⃣ CRUD API for Sample Resource

  • βœ… Implement basic CRUD APIs (e.g., for tasks or products)
    • POST /tasks – Create a new task.
    • GET /tasks – Fetch all tasks.
    • PUT /tasks/:id – Update a task.
    • DELETE /tasks/:id – Delete a task.

βœ… Deliverables

βœ”οΈ Working Express API with:

  • Authentication System (Signup/Login with JWT).
  • MongoDB Schema (User, Tasks).
  • CRUD API for Sample Resource.
  • TypeScript Interfaces for API responses.

🎯 Bonus Challenge (Optional)

πŸ”₯ Load Balancing – Implement a reverse proxy (e.g., Nginx).
πŸ”₯ Rate Limiting – Prevent excessive API requests.


πŸ–Œ UI/UX Designer Assignment

πŸ“Œ Tech Stack

  • Figma – UI/UX Design Tool.
  • Color Theory – Effective color palettes.
  • Typography – Readable font selection.

πŸ“ Task Breakdown

  • βœ… Design Login & Dashboard Pages

    • Clean, modern, and user-friendly UI.
    • Proper spacing and responsiveness.
  • βœ… Color Palette Selection

    • Choose a visually appealing, accessible color scheme.
  • βœ… Style Guide

    • Define buttons, input fields, typography.

βœ… Deliverables

βœ”οΈ Figma Link with the final design.
βœ”οΈ Exported Color Codes & Fonts.
βœ”οΈ PR with design-assets.md file (Figma link + assets).

🎯 Bonus Challenge (Optional)

πŸ”₯ Mobile-first UI Design – Fully responsive from the start.


πŸ” Software Tester Assignment

πŸ“Œ Tech Stack

  • Jest – Unit testing for backend.
  • Cypress – End-to-end (E2E) testing.
  • Postman – API testing.

πŸ“ Task Breakdown

1️⃣ Backend Testing (Jest)

  • βœ… Write unit tests for authentication & CRUD APIs.
  • βœ… Store test cases in __tests__ folder.

2️⃣ Frontend Testing (Cypress)

  • βœ… Write E2E tests for login/signup flow.
  • βœ… Test protected routes.

3️⃣ Test Coverage

  • βœ… Ensure at least 80% coverage.

βœ… Deliverables

βœ”οΈ Jest test files for backend (__tests__ folder).
βœ”οΈ Cypress test cases for frontend.
βœ”οΈ PR with testing-setup branch.

🎯 Bonus Challenge (Optional)

πŸ”₯ Automated Regression Testing – Run tests on PRs automatically.


πŸ”„ Submission Process

1️⃣ Fork the repository & create a branch (<name>-<role>).
2️⃣ Complete the assigned task & commit changes.
3️⃣ Create a Pull Request (PR).
4️⃣ Add proper documentation in the PR description. 5️⃣ UI / UX Designers also create a PR with the figma link in a file and the prototype link

⏳ Deadline: 15/03/2025
πŸ”₯ Bonus Challenge (Optional) Each team member has extra challenges to go beyond expectations! πŸš€

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published