Skip to content

SDproctor/sdproctor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDProctor

A Exam proctoring website bootstrapped with Create React App.

Table of contents

Overview

The challenge

Users should be able to:

  • Create an account and face capture
  • Login and face validation
  • Take exams
  • Be monitored via camera when taking the exams (proctoring)
  • Ensure that no one is impersonating
  • Navigate to the cart page

Screenshot

Links

My process

Built with

What I learned

  • React Authentication and Authorization
  • Consuming backend and ML APIs
useEffect(() => {
    const setupCamera = async () => {
      const video = videoRef.current;

      try {
        const stream = await navigator.mediaDevices.getUserMedia({ video: true });
        video.srcObject = stream;
      } catch (error) {
        console.error('Error accessing camera:', error);
      }
    };

    setupCamera();
  }, []);
  const offset = currentPage * n;
  const paginatedData = questions.slice(offset, offset + n);

  const navigate = useNavigate()

  function logout () {
    localStorage.clear()
    navigate('/')
  }

Useful resources

In the project directory, you can run:

npm install

then...

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published