ElectiveHub is an Education Management System designed to simplify and enhance the management of student information and elective subject selection in educational institutions. It offers a suite of applications for students, teachers, and administrators, providing a user-friendly platform to manage academic processes efficiently.
|
|
|
A file named .env is required in the client directory of ELECTIVEHUB for storing environment variables used at runtime. It is not a part of the repo and you will have to create it.
Add the endpoint for accessing electivehub-api service to the variable named "VITE_API_URL" in the .env file.
VITE_API_URL="http://your-server.com"
If you are a developer working on your local system, then the URL would be:
VITE_API_URL="http://localhost:4000"
A file named .env is required in the server directory of ELECTIVEHUB for storing environment variables used at runtime. It is not a part of the repo and you will have to create it.
Create the following variables in the .env file and assign there values.
MONGO_URL PORT TOKEN_KEY
To get started with ElectiveHub, follow these installation steps:
Clone the repository to your local machine:
git clone https://github.com/TechNodes2-0/ElectiveHub.git
Set up the backend by navigating to the server directory:
cd server
Install the necessary dependencies for the backend:
npm install
Start the backend server:
npm start
For the frontend, navigate to the client directory:
cd client
Install the necessary dependencies for the frontend:
npm install
Start the frontend:
npm run dev
Access the application through your web browser.
These steps will ensure both the frontend and backend of ElectiveHub are properly set up and running.
We welcome contributions to improve ElectiveHub. To contribute:
Fork the repository on GitHub.
Clone the forked repository to your local machine.
Make your changes and improvements.
Commit your changes with clear and concise commit messages.
Push your changes to your forked repository.
Submit a pull request to the main repository, describing your changes and why they should be merged.
This project is licensed under the MIT License.