Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nishitbaria/dev-exchange
A community-driven platform for asking and answering programming questions. Get help, share knowledge, and collaborate with developers from around the world. Explore topics in web development, mobile app development, algorithms, data structures, and more.
https://github.com/nishitbaria/dev-exchange
clerkauth mongodb nextjs14 serverside-rendering
Last synced: 20 days ago
JSON representation
A community-driven platform for asking and answering programming questions. Get help, share knowledge, and collaborate with developers from around the world. Explore topics in web development, mobile app development, algorithms, data structures, and more.
- Host: GitHub
- URL: https://github.com/nishitbaria/dev-exchange
- Owner: Nishitbaria
- License: mit
- Created: 2023-11-18T09:06:45.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-09-29T13:52:00.000Z (about 2 months ago)
- Last Synced: 2024-10-10T19:30:03.630Z (about 1 month ago)
- Topics: clerkauth, mongodb, nextjs14, serverside-rendering
- Language: TypeScript
- Homepage: https://devexchanges.vercel.app/
- Size: 5.83 MB
- Stars: 9
- Watchers: 2
- Forks: 21
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
![DevExchange](https://github.com/Nishitbaria/Dev-Exchange/assets/85815172/f5333bca-01a9-4545-b75e-32a3f2844602)
# Welcome to DevExchage π
A community-driven platform for asking and answering programming questions π. Get help, share knowledge, and collaborate with developers from around the world. Explore topics in web development, mobile app development, algorithms, data structures, and more.
## Table of Contents
- [Welcome to DevExchangeπ](#welcome)
- [Table of Contents](#table-of-contents)
- [Live demo π»](#live-demo-)
- [Tech stack π](#tech-stack-)
- [Installation](#installation)
- [Want to Contribute? π©βπ»](#want-to-contribute-)
- [Maintainers π€](#maintainers-)
- [Top 50 Contributors β¨](#top-50-contributors-)
- [License π](#license-)
- [Support β](#support-)Visit https://devexchanges.vercel.app/ to see the live demo!
## Tech stack π
## Installation
Follow these steps to set up the Dev Exchange project locally:
### Using Docker (Recommended)
1. Pull the [Docker](https://hub.docker.com/r/nishitbaria/devexchange) image from the Docker Hub:
```
docker pull nishitbaria/devexchange
```
### Using kubernetes
```bash
1. kubectl apply -f deployment.yaml
2. kubectl apply -f service.yaml```
### Prerequisites
Before you begin, ensure you have the following installed on your machine:
- [Node.js](https://nodejs.org/): Make sure to install Node.js, which includes npm (Node Package Manager).
- [MongoDB](https://www.mongodb.com/): Set up a MongoDB database and obtain the connection URL.### Clone the Repository
You can clone the repository using either the command line or GitHub Desktop.
#### Option 1: Using Command Line
```
git clone https://github.com/Nishitbaria/Dev-Exchange.git
cd Dev-Exchange
```#### Option 2: Using GitHub Desktop
1. Install [GitHub Desktop](https://desktop.github.com/) if you haven't already.
2. Open GitHub Desktop and click on "File" > "Clone Repository".
3. In the "Clone a Repository" window, switch to the "URL" tab.
4. Enter the repository URL: `https://github.com/Nishitbaria/Dev-Exchange.git`
5. Choose the local path where you want to clone the repository.
6. Click on "Clone".
7. Once cloned, click on "Open in Visual Studio Code" (or your preferred editor).### Install Dependencies
```
npm install
```### Configuration
1. Create a `.env.local` file in the root of the project.
2. Add the following environment variables and replace the values with your own:```env
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/
NEXT_PUBLIC_TINY_EDITOR_API_KEY=
NEXT_CLERK_WEBHOOK_SECRET=whsec_erJXNtiEmSyU6XyobojZnp7fA2otaDtD
MONGODB_URL=
NEXT_PUBLIC_SERVER_URL=http://localhost:3000/
OPENAI_API_KEY=
NEXT_PUBLIC_GOOGLE_GIMINI_API_KEY=
```### Start the Development Server
```bash
npm run dev
```The application should now be running locally. Visit [http://localhost:3000](http://localhost:3000) in your web browser to access Dev Exchange.
### Build for Production
To build the project for production, use the following command:
```bash
npm run build
```### Start the Production Server
```bash
npm start
```Visit [http://localhost:3000](http://localhost:3000) to access the production build locally.
## Want to Contribute? π©βπ»
Please follow our [CONTRIBUTING guidelines](https://github.com/Nishitbaria/Dev-Exchange/blob/main/CONTRIBUTING.md) for the following:-
- Setup DevExchange on your local machine
- Create an Issue using the relevant issue Template
- Follow the contributing guidelines
- And more!## Maintainers π€
Need help while contributing? Tag any of the maintainers when creating the issue. You can tag us using: `@username`
@Yash636261
@Nishitbaria
@VinayakVispute
@JayeshYadav99## Top 50 Contributors β¨
We would like to express our sincere gratitude to all the contributors who have helped make LinksHub an invaluable resource for developers! Without your contributions, this project wouldn't have been possible. Thank you so much for your time, effort, and dedication! π
_View the list of all contributors [here](https://github.com/Nishitbaria/Dev-Exchange/graphs/contributors)._
## License π
Dev-Exchange is licensed under the terms of the MIT License. check out LICENSE for details.
## Support β
- π° Become our [Sponsor](https://github.com/sponsors/nishitbaria)!
- β Star our Repo
- π₯ Rate us on [Repo Rater](https://repo-rater.eddiehub.io/)
Together, we can continue to improve and expand this resource hub for people worldwide! πͺ