This repository serves as the preview page for the Server-Jntuh-R22-Notes application. The live preview is accessible at https://harshrb2424.github.io/Jntuh-R22-Notes/.
Server-Jntuh-R22-Notes is a Node.js application built with Express and EJS, designed to dynamically display notes based on the data provided in data.json. The notes are linked from the resources folder, and the application allows for easy customization of the note list.
-
Static GitHub Pages Hosting: This repository is hosted on GitHub Pages, providing a convenient and accessible way to preview the Server-Jntuh-R22-Notes application.
-
Live Demo: Visit https://harshrb2424.github.io/Jntuh-R22-Notes/ to interact with a live demonstration of the Server-Jntuh-R22-Notes application.
Simply navigate to https://harshrb2424.github.io/Jntuh-R22-Notes/ to explore the live preview of Server-Jntuh-R22-Notes. You can interact with the notes and experience the dynamic rendering of content.
If you encounter any issues or have suggestions for improvement, please feel free to open an issue in this repository.
To contribute by adding new PDFs, follow these steps:
-
Rename the PDF:
- Name the PDF file using the appropriate subject code and unit name.
- Example: For "Mathematical Sciences Foundation" Unit 3, name the file as
MSF Unit3.pdf.
-
Organize Files:
- Place the renamed PDF in the appropriate folder:
- Path:
public/resources/<year>/ - Example:
public/resources/2nd Year/MSF Unit3.pdf.
- Path:
- Place the renamed PDF in the appropriate folder:
-
Update JSON Files:
- Locate the JSON file for the specific subject in
public/info. - Example: For "MSF," find
public/info/MSF.json.
- Locate the JSON file for the specific subject in
-
Add PDF Details:
- Update the
linkssection in the JSON file with the new PDF name and link. - Use the following format:
"links": [ { "name": "MSF Unit 1 Greatest Common Divisors And Prime Factorization And Congruences", "link": "./resources/2nd Year/MSF-Unit1.pdf" }, { "name": "MSF Unit 2 Simple Linear Regression And Correlation", "link": "./resources/2nd Year/MSF-Unit2.pdf" }, { "name": "MSF Unit 3 Advanced Number Theory", "link": "./resources/2nd Year/MSF-Unit3.pdf" } ]
- Update the
-
Save and Test:
- Ensure the JSON syntax is correct and matches the file structure.
- Run the application locally or check the live preview to confirm the PDF is displayed correctly.
-
Commit and Push:
- Commit the updated files and push them to the repository.
- Provide a clear commit message like:
Added MSF Unit3.pdf to 2nd Year and updated MSF.json.
By following these steps, you can easily contribute to the repository and help expand the available resources for JNTUH R22 Notes.