{"id":19361038,"url":"https://github.com/skp3214/assessnet","last_synced_at":"2026-04-04T08:36:19.919Z","repository":{"id":253988945,"uuid":"844879085","full_name":"skp3214/AssessNet","owner":"skp3214","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-20T17:22:24.000Z","size":630,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-06T19:38:58.080Z","etag":null,"topics":["expressjs","mongodb","nodejs","quizapp","reactjs","tailwindcss","testplatform"],"latest_commit_sha":null,"homepage":"https://assessnet.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skp3214.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-20T06:31:16.000Z","updated_at":"2024-09-21T09:27:26.000Z","dependencies_parsed_at":"2024-08-20T19:49:25.497Z","dependency_job_id":"8fb37113-8bb9-4dbf-be1c-d5dbca9b45ea","html_url":"https://github.com/skp3214/AssessNet","commit_stats":null,"previous_names":["skp3214/assessnet-cipherschools","skp3214/assessnet"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skp3214%2FAssessNet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skp3214%2FAssessNet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skp3214%2FAssessNet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skp3214%2FAssessNet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skp3214","download_url":"https://codeload.github.com/skp3214/AssessNet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240475650,"owners_count":19807367,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["expressjs","mongodb","nodejs","quizapp","reactjs","tailwindcss","testplatform"],"created_at":"2024-11-10T07:20:18.942Z","updated_at":"2025-12-30T19:04:19.022Z","avatar_url":"https://github.com/skp3214.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# 🔠 AssessNet - Test Environment Platform 🕕\n\nThis project is a comprehensive quiz platform with environment testing capabilities. It includes features such as camera and microphone access testing, user authentication, and email score reporting. The platform is built with a robust backend for authentication and a modern frontend for user interaction.\n\n**Live Project Link :** [https://assessnet.vercel.app](https://assessnet.vercel.app) \u003cbr\u003e\n**Api Link :** [https://assessnet-cipherschools.onrender.com](https://assessnet-cipherschools.onrender.com)\n\n*Important Note :* [During Login or Signup It can take upto 50 seconds to responds because on render it responds lately.]()\n\n## Features\n\n- **Environment Testing:** Ensures the user's camera and microphone are working before starting the quiz.\n- **User Authentication:** Secure user registration and login using JWTs.\n- **Dynamic Quiz:** Presents 10 questions for demo purposes, with a user-friendly interface.\n- **Email Score Reporting:** After the quiz, the user's score is automatically sent to their email using EmailJS.\n\n## Project Demo\n\nhttps://github.com/user-attachments/assets/08d4b593-41a3-487f-8980-41e3454f120b\n\n![alt text](image.png)\n\n![alt text](image-1.png)\n\n### EmailJS Code Snippet\n\n```js\n      const finistTest = () =\u003e {\n\n        console.log(user.email)\n        console.log(score)\n        let emailTemplate = `${user.name} your test score is ${score}/${questions.length}`;\n        emailjs.send(\n            config.emailJSServiceID,\n            config.emailJSTemplateID,\n            {\n                from_name: 'AssessNet',\n                to_name: user.name,\n                from_email: 'skprajapati3214@gmail.com',\n                to_email: user.email,\n                message: emailTemplate\n            },\n            config.emailJSPublicKEY\n        )\n            .then((response) =\u003e {\n                console.log('Email sent successfully');\n                console.log(response)\n                alert('Email sent successfully');\n                dispatch(logout());\n                navigate('/');\n            })\n            .catch((err) =\u003e {\n                console.error('Error sending email:', err);\n                alert('Error sending email');\n            });\n\n    }\n```    \n\n\n## Tech Stack\n\n- **Frontend:**\n  - React.js with Vite for a fast development experience.\n  - Tailwind CSS for styling.\n  - EmailJS for sending quiz scores via email.\n  \n- **Backend:**\n  - Node.js and Express.js for handling authentication and other API endpoints.\n  - MongoDB for user data management.\n\n- **Environment Management:**\n  - .env files for storing sensitive information like API keys and database credentials.\n\n## Project Structure\n\nThe project is divided into two main directories:\n\n- **backend:** Contains all the server-side logic.\n  - `controllers/`: Business logic for handling user requests.\n  - `db/`: Database connection and models.\n  - `middleware/`: Authentication and other middleware functions.\n  - `routes/`: API endpoints.\n  - `lib/`: Utility functions and reusable code.\n\n- **frontend:** Contains all the client-side logic.\n  - `src/components/`: React components for different parts of the UI.\n  - `src/services/`: Service files for handling API requests and authentication.\n  - `src/store/`: State management using Redux.\n  - `src/config/`: Configuration files for different environments.\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js and npm installed.\n- MongoDB database set up.\n- EmailJS account for email integration.\n\n### Installation\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/skp3214/AssessNet-CipherSchools.git\n   cd AssessNet\n   ```\n\n2. **Install dependencies:**\n   ```bash\n   # Backend\n   cd backend\n   npm install\n\n   # Frontend\n   cd frontend\n   npm install\n   ```\n\n3. **Environment Variables:**\n   Create a `.env` file in both the `backend` and `frontend` directories with the necessary environment variables. Example:\n\n   \n   #### Backend .env\n        MONGO_URI=\n        PORT=5000\n        JWT_SECRET=skp3214\n        NODE_ENV=development\n  \n   \n   #### Frontend .env\n        VITE_APIURL=http://localhost:5000/api/auth\n        VITE_APP_EMAILJS_SERVICE_ID=\n        VITE_APP_EMAILJS_TEMPLATE_ID=\n        VITE_APP_EMAILJS_PUBLIC_KEY=\n\n\n### Running the Application\n\n1. **Start the backend server:**\n   ```bash\n   cd backend\n   npm run dev\n   ```\n\n2. **Start the frontend server:**\n   ```bash\n   cd frontend\n   npm run dev\n   ```\n\n3. **Access the application:**\n   Open your browser and navigate to `http://localhost:5173`.\n\n## Usage\n\n- **Sign Up/Login:** Users must sign up or log in to access the quiz.\n- **Environment Test:** Before starting the quiz, users are required to allow access to their camera and microphone.\n- **Take Quiz:** Answer the 10 demo questions presented.\n- **Score Reporting:** After submitting the quiz, the user's score is sent to their registered email.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskp3214%2Fassessnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskp3214%2Fassessnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskp3214%2Fassessnet/lists"}