Welcome to the Assessment Portal! This project is a web-based application that allows users to browse, select, purchase, and take assessments. It is built using Angular for the front end and Node.js for the backend, with MongoDB as the database.
- Overview
- Technologies Used
- Server (Backend)
- Client (Frontend)
- Database
- Installation Instructions
- Running the Repository
The Assessment Portal is designed to provide a seamless experience for users to manage their assessments. Key features include:
- Browsing available assessments
- Selecting and purchasing assessments
- Taking assessments online
- Viewing results and performance analytics
- Node.js: A JavaScript runtime built on Chrome's V8 JavaScript engine.
- Express: A minimal and flexible Node.js web application framework.
- JWT: For user authentication and authorization.
- Angular: A platform for building mobile and desktop web applications.
- MongoDB: A NoSQL database for storing user data, assessments, and results.
The backend of this project is built using Node.js and Express. It provides RESTful APIs for the frontend to interact with. Key functionalities include user authentication, assessment management, and result processing.
- User Authentication (Login, Registration, JWT-based Authentication)
- Assessment CRUD operations
- Purchase and Order Management
- Result Storage and Retrieval
-
Navigate to the
serverdirectory:cd server -
Install the required dependencies:
npm install
-
Create a
.envfile in theserverdirectory with the following contents:PORT=3000 DB_URI=mongodb://localhost:27017/assessment-portal JWT_SECRET=your_jwt_secret -
Start the server:
npm start
The frontend of this project is built using Angular. It provides a responsive user interface for users to interact with the application.
- User Authentication (Login, Registration)
- Browsing and Searching Assessments
- Taking Assessments
- Viewing Results and Analytics
-
Navigate to the
clientdirectory:cd client -
Install the required dependencies:
npm install
-
Start the Angular development server:
ng serve
-
Open your browser and navigate to
http://localhost:4200.
The database used for this project is MongoDB. It stores user information, assessments, and results. Ensure MongoDB is running locally or provide the URI to a remote MongoDB instance in the .env file in the server directory.
- Ensure MongoDB is installed and running on your local machine or a remote server.
- Use the following URI format in your
.envfile for a local MongoDB instance:DB_URI=mongodb://localhost:27017/assessment-portal
To get the application running on your local machine, follow these steps:
-
Clone the repository:
git clone https://github.com/pateldivyam26/MELENTO.git
-
Follow the installation steps for both the Server and the Client.
-
Start the backend server:
cd server nodeomn node server.js -
Start the frontend development server:
cd client ng serve -
Open your browser and navigate to
http://localhost:4200to access the application.