Coder Social home page Coder Social logo

codebuddy-react-interview's Introduction

Welcome to Round 3 of your React Interview

This round is to test your practical knowledge of using React in real world applications. The repo serves as a boilerplate for the React application you are going to build. The boilerplate is created using vite.

Please read the below instructions carefully


Before starting keep in mind the below points

  • The repo is configured with ESlint to check the code quality of your javascript code.
  • Failing the rules set by the above linters will prevent you from committing to this repo
  • The Project will show some VS Code plugins as recommendations, that help you regarding these linter, ESLint, Prettier, etc. Install these plugins for better experience. You can open .vscode/extensions.json to see the list of recommended plugins.
  • This repo is pre-installed with Tailwind CSS. You can use it to style your components.
  • This repo is pre-installed with React Router v6.4. You can use it to create routes in your application.
  • You can install other npm packages if you want
  • Upon completing the problem, commit to your FORKED github repo and share the github repo url with us for review
  • Writing inline CSS is discouraged, utilize Tailwind or write your custom CSS in separate CSS files or CSS modules. You are free to use any other CSS or Component library like Bootstrap, Material UI, etc.
  • UI must be responsive
  • Can use any online resources to solve the problem
  • Must use fetch API to make API calls instead of axios. Use JSON.stringify to convert the body to string when doing any POST request. Don't pass any headers like Content-Type or Accept in the request.
  • You have a total of 2 hrs to complete the task

Pre-requisites

  1. You must have NodeJS (v18+) installed on your machine
  2. You must have a basic understanding of React, React Router, Tailwind CSS, etc.
  3. You must have a basic understanding of Git and GitHub
  4. You must have VS Code installed on your machine

Installation

Please read the below instructions carefully. Complete all the steps sequentially.

  1. FORK this repo to your own GitHub account. DON'T CLONE THIS REPO. Fork button is the top right corner of the GitHub page.

  2. Clone the FORKED repo to your local machine.

  3. Open the project folder in VS Code

  4. Install the recommended plugins

  5. Install node_modules using npm or yarn or pnpm.

    npm install

    OR

    yarn install

    OR

    pnpm install
  6. Run npm run dev or yarn dev to run the project.

  7. Project will start at http://localhost:5173

If you are on Windows and getting lot of ESLint errors due end of line characters CRLF please run the below command to fix it.

npm run format

NOTE: If you face issue installing with npm trying using yarn v1.22.*

NOTE: You might be asked to do HTTP calls to https://codebuddy.review , the API mentioned in the Question Set will only work if you do a fetch request from the application as it served using MSW (Mock Service Worker) https://mswjs.io/. So it won't work if you try to do a fetch request from Postman or any other tool. Check for message [MSW] Mocking enabled in the browser console to confirm that the API is working.


In case of any queries feel free to contact us

codebuddy-react-interview's People

Contributors

neeraj-codebuddy avatar sohan-dutta avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.