The TNP Portal is a web application designed to manage and display information related to students, companies, schedules, and more. The application features a responsive layout with a sidebar and header, allowing users to navigate through different components and pages seamlessly.
https://drive.google.com/drive/folders/1iCwGBl8G5Wdto4ylYmUnbKcKJszSdusr?usp=sharing
-
Frontend:
- React: A JavaScript library for building user interfaces.
- React Router DOM: For routing and navigation.
- Tailwind CSS: For styling and responsive design.
- Lucide Icons: For icons used in the sidebar.
-
Backend:
- No backend integration currently; data is managed and displayed using local JSON files and React state.
src/
components/
: Contains reusable components such as Sidebar, Header, etc.data/
: Contains JSON files with data for companies, schedules, and more.pages/
: Contains the main pages of the application, such as Dashboard, Students, Companies, etc.App.js
: Main application file where routes are defined.index.css
andApp.css
: For styling.
-
Sidebar:
- Includes navigation links to Dashboard, Students, Companies, Schedule, Profile, and Query pages.
- Styled with custom colors and fonts.
- Collapses on smaller screens for better responsiveness.
-
Dashboard:
- Displays an overview of the portal with cards for Total Students, Placed Students, and Time Left.
- Customizable with real-time data.
-
Students Page:
- Shows a list of students with their status.
- Allows viewing and updating student details.
- Features a card for Rejected Students and a table of companies.
-
Companies Page:
- Lists companies with detailed information.
- Includes a Company Details page with apply links.
-
Schedule Page:
- Allows adding and viewing events.
- Events are updated in real time and displayed on the Companies page.
-
Profile Page:
- Displays user profile information including name, email, phone, department, CGPA, batch, and resume.
- Resume can be viewed or downloaded.
-
Edit Profile Page:
- Allows users to edit their profile information.
- Supports uploading a new resume and updating existing details.
-
Query Page:
- Allows users to write a query and contact the POC (Point of Contact).
- Features a form for submitting queries.
-
Clone the Repository:
git clone https://github.com/Makkohli/TNP_portal.git cd TNP_portal
-
Install Dependencies:
npm install
-
Start the Development Server:
npm start
-
Access the Application: Open your browser and go to
http://localhost:3000
to view the application.
- Adding New Features: Update the corresponding page/component files in the
src/pages/
orsrc/components/
directory. - Styling: Use Tailwind CSS classes for styling or update
index.css
/App.css
for global styles.
- Fork the Repository and clone it to your local machine.
- Create a New Branch for your feature or fix:
git checkout -b feature/your-feature
- Make Your Changes and commit them:
git add . git commit -m "Add your feature or fix"
- Push to Your Fork:
git push origin feature/your-feature
- Create a Pull Request to merge your changes into the main repository.
This project is licensed under the MIT License - see the LICENSE file for details.
- Tailwind CSS for the utility-first styling framework.
- React and React Router for building the UI and handling navigation.
- Lucide Icons for a consistent and modern icon set.