A web application designed to help ITNU students calculate the grades they need for their exams. This tool allows students to input their current scores and determine what marks they need to achieve their desired grades.
- Next.js 14.x
- React 18.x
- MongoDB
- Tailwind CSS 3.x
- NextAuth.js for authentication
Before you begin, ensure you have the following installed:
- Node.js (v18 or newer)
- npm, yarn, pnpm, or bun
- Git
- Clone the repository
git clone https://github.com/jayypatel18/grade-calculator.git
cd grade-calculator- Install dependencies
npm install
# or
yarn install
# or
pnpm install
# or
bun install- Create a
.env.localfile in the root directory with the following variables:
MONGODB_URI=your_mongodb_connection_string
NEXTAUTH_SECRET=your_nextauth_secret
NEXTAUTH_URL=http://localhost:3000
- Run the development server
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev- Open http://localhost:3000 with your browser to see the application
/components- React components used throughout the application/models- MongoDB models for users and results/pages- Next.js pages and API routes/public- Static assets/styles- CSS styles/utils- Utility functions
We welcome contributions from the community! Here's how you can contribute:
-
Fork the repository
- Navigate to the repository on GitHub
- Click the "Fork" button in the top-right corner
- This creates a copy of the repository in your GitHub account
-
Clone your forked repository
git clone https://github.com/YOUR-USERNAME/grade-calculator.git cd grade-calculator -
Create a new branch
git checkout -b feature/your-feature-name
-
Make your changes
- Implement your feature or bug fix
- Write or update tests if necessary
- Ensure your code follows the project's style guidelines
-
Commit your changes
git add . git commit -m "Add a descriptive commit message"
-
Push to your fork
git push origin feature/your-feature-name
-
Create a Pull Request
- Go to your fork on GitHub
- Click "Pull request"
- Select your branch and submit the PR with a clear description of the changes
-
Code Review
- Wait for maintainers to review your PR
- Make any requested changes
- Once approved, your PR will be merged
If you're not comfortable with the fork and PR workflow, you can suggest changes via:
- Opening an issue on GitHub
- Filling out the Suggest Changes form
This project follows Semantic Versioning:
- Current Version: 1.0.0
- Release Date: May 2025
- 1.0.0 (May 2025) - Initial Release
The application is deployed on Vercel. For deployment instructions:
- Fork the repository and make your changes
- Create a Vercel account at vercel.com
- Connect your GitHub account and import the repository
- Configure environment variables
- Deploy
- Developer: Jay Patel
- Email: 22bce251@nirmauni.ac.in
- GitHub: jayypatel18
This project is licensed under the MIT License.