Welcome to our Student Q&A Platform! This application provides a platform for students to ask questions, share knowledge, and collaborate with each other.
Our Student Q&A Platform allows users to:
- Ask questions on various topics related to their studies.
- Answer questions posted by other users.
- Upvote or downvote questions and answers.
- Comment on questions and answers to provide additional insights.
- Follow specific topics or users to stay updated with relevant content.
We welcome contributions from the community to help improve and enhance the platform. Here are some ways you can contribute:
-
Reporting Issues: If you encounter any bugs or issues while using the platform, please report them by creating a new issue in the GitHub repository.
-
Feature Requests: Have an idea for a new feature or improvement? Share it with us by opening a new feature request issue.
-
Code Contributions: Feel free to fork the repository, make your changes, and submit a pull request. We appreciate all code contributions, whether it's fixing bugs, adding new features, or improving documentation.
To set up the environment for local development, follow these steps:
-
Clone the repository:
git clone https://github.com/Elita-6/devhunt-client-starter-project
-
Install dependencies:
cd devhunt-client-starter-project npm install
-
Create a
.env
file in the root directory of the project with the following environment variables:NEXTAUTH_SECRET="" NEXTAUTH_URL="http://localhost:3000" GITHUB_CLIENT_SECRET="" GITHUB_CLIENT_ID="" OPEN_API_KEY=""
-
Start the development server:
npm run dev
-
Access the application in your browser at
http://localhost:3000
.
NEXTAUTH_SECRET
: Secret used for NextAuth authentication.NEXTAUTH_URL
: Base URL for the application.GITHUB_CLIENT_SECRET
: Client secret for GitHub OAuth authentication.GITHUB_CLIENT_ID
: Client ID for GitHub OAuth authentication.OPEN_API_KEY
: API key for accessing openai APIs.
If you have any feedback, questions, or need support, please reach out to us by opening an issue in the GitHub repository or contacting our team directly.
Happy coding! 🚀