Mathongo Task is a comprehensive solution designed to streamline user management processes within applications. It offers a range of functionalities from viewing and adding users to bulk data import/export and maintaining user privacy through secure access controls.
To set up Mathongo Task locally, follow these steps:
-
Clone the repository:
git clone https://github.com/shwetd19/Mathongo-Task.git
-
Navigate to the project directory:
cd Mathongo-Task
-
Install dependencies:
npm install
After setting up the project, you can start the development server with:
bash npm run dev
- Endpoint:
POST /candidates/upload
- URL: http://localhost:3000/candidates/upload
- Input:
file
: An Excel file containing candidate information. The file must be multipart/form-data encoded.
- Output: Confirmation of user addition
- Endpoint:
GET /candidates/return
- URL: http://localhost:3000/candidates/return
- Input: None required
- Output: List of all candidates
- Endpoint:
GET /candidates/emails
- URL: http://localhost:3000/candidates/emails
- Input: None required
- Output: Array of all unique email addresses of candidates
For detailed information on the API endpoints, including request parameters and response formats, refer to the API Documentation.