Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An end to end test system built-in react js and node js.

NotificationsYou must be signed in to change notification settings

rohit10000/ourTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

It is an end to end real-time, responsive test website forhard-working aspiring candidates where they can practice forexams of their choice.

This project consists of 2 parts:

  • Frontend: build in reactJs and bootstrap using javascript, HTMLand CSS
  • Backend: build in nodeJs, mongoDB.

Requirements of Test System

  • User can select the Test category like JEE Advance, CAT, GATE, etc.
  • User can further select the subsections inside of test category.
  • Every sub-area's can have multiple topic.
  • You can perform quiz on a particular chapter.
  • Every chapter can have multiple questions.
  • User can signup, login and logout.
  • User can even view his dashboard.
  • Admin can add or remove tests, sections, topics, questions.
  • Any user can only login from only one device and can only loginto other device once it is logged-out from the logged-in device.
ActorUse Case
User Can select test category, subsection category and topic, can do quiz, can login, can see to dashboard, can only login from one device.
Admin Can add or remove tests, sections, topics, questions.

Class Diagram

alt text

Configure to run app

As I have earlier there are 2 parts in this project. For frontendpart it is very simple. For the backend part, it is also verysimple just you have to run mongo server in local and importfew collections and then run the nodeJs server.

  • Clone the repository.

  • In the frontend folder run commandnpm install andnpm start.Now, your frontend app server will be running on port 3000.

  • Run mongoDB server on local and import certain necessarycollection to dB ourTest as is given in the folder/backend/database.

  • Then in the backend folder also, run commandnpm install andnpm startto run the nodeJs server.

  • Last thing you need to set the config file n frontendand backend.Add config.js file inside/frontend/src/sharedwith the following content:

export const baseUrl = <base url>;export const clientId = <clent id for google oauth>;

Also add a config.js file to/backend folder with the following code content:
const user = <user of mongo client>;const password = <password>;const host = <host ip>;const port = <host port>;const database = <db>;module.exports = {    'secretKey': <secretKey>,    'mongoUrl' : `mongodb://${user}:${password}@${host}:${port}/${database}?authSource=<...>`,}

Our basic structure will look like this:alt text

Go head and have a code look!

If you want to see how I deployed my firstnodeJs app on google cloud. Feel free tocheckout thelink.

Screenshots for the project are as follows:

Web UI

Mobile UI

Happy Visiting!

About

An end to end test system built-in react js and node js.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp