Here's an updated version of the README.md file that includes the necessary .env information for Kinde and Neon PostgreSQL settings:
You can access the deployed version of the this app here: https://attend-tracker.vercel.app
This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.js. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Inter, a custom Google Font.
This project tracks student attendance and provides a dashboard with various features for teachers.
- React.js
- Next.js
- Tailwind CSS
- ShadCN UI Components
- Drizzle ORM
- Neon PostgreSQL
- Authentication via Kinde (for user login and social authentication)
- Recharts Library
- ShadCN for additional UI components
- IDE: Visual Studio Code (VS Code)
- Package Managers: Node.js (npm or yarn)
- Displays the percentage of students present or absent in a particular grade (standard) in a graphical format.

- Shows information about students such as their ID, name, address, and contact number. Teachers can also add or delete student records.

- Allows teachers to add new students with basic details such as ID, name, address, and contact number.

- Teachers can mark attendance by selecting the date and grade. They can also modify previously marked attendance.

- Teachers can download an attendance report for students in a particular class. The report includes relevant attendance details.

To run this project locally, create a .env file in the root of the project and add the following variables:
KINDE_CLIENT_ID=your_kinde_client_id
KINDE_CLIENT_SECRET=your_kinde_client_secret
KINDE_ISSUER_URL=https://your_kinde_issuer_url
KINDE_SITE_URL=http://localhost:3000
KINDE_POST_LOGOUT_REDIRECT_URL=http://localhost:3000
KINDE_POST_LOGIN_REDIRECT_URL=http://localhost:3000/dashboard- Replace
your_kinde_client_idwith your actual Kinde Client ID. - Replace
your_kinde_client_secretwith your actual Kinde Client Secret. - Replace
https://your_kinde_issuer_urlwith your Kinde Issuer URL.
NEXT_PUBLIC_DATABASE_URL=postgresql://your_db_user:your_db_password@your_neon_db_host/your_db_name?sslmode=require- Replace
your_db_userwith your Neon PostgreSQL username. - Replace
your_db_passwordwith your Neon PostgreSQL password. - Replace
your_neon_db_hostwith the Neon database host URL (e.g.,ep-your-db-name.neon.tech). - Replace
your_db_namewith the name of your database.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
You can access the deployed version of the app here: https://attend-tracker.vercel.app
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - Learn about Next.js features and API.
- Learn Next.js - An interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
### Key Points:
- The **Kinde Settings** section contains placeholders for the Kinde authentication details (Client ID, Client Secret, Issuer URL, and Redirect URLs).
- The **Neon PostgreSQL Database Settings** section provides a template for connecting to your Neon PostgreSQL database.
- Make sure to replace the placeholders in the `.env` file with your actual Kinde and Neon credentials.
This `.env` configuration ensures proper authentication and database connectivity in both local development and production environments.


