Home

Awesome

IdeaXchange

<p align="center"> <img src="https://img.shields.io/github/license/apoorvdwi/EasyCall" /> <img src="https://img.shields.io/badge/Author-apoorvdwi-yellow" /> <img src="https://img.shields.io/badge/code%20style-airbnb-blue" /> </p>

💥 Introduction

Idea Exchange is a platform for people who have trouble finding ideas for their side projects or are finding a buisness problem to solve and build their startup. Alternatively, people can post their ideas/problem statements and let other users to interact with the idea in form of comments, upvotes, downvotes and if they would like to pay for the product around that problem/idea statement.

🛠️ Local development

That's pretty easy. To ensure that you are able to install everything properly, we would recommend you to have <b>Git</b>, <b>NPM</b> and <b>Node.js</b> installed.

We will first start with setting up the Local Project Environment:

git clone git@github.com:apoorvdwi/Idea-Xchange.git
cd Idea-Xchange/appwrite
docker-compose up -d --renew-anon-volumes

Create a account in the appwrite console and create a project inside it.

  1. From Authentication, enable the google authentication.

  2. Create a database with 2 collections, Ideas and Discussions.

Discussions Collection contains 2 fields:

column nametyperequiredarray
ideaIdstringtruefalse
commentsstringfalsetrue

Ideas Collection contains 9 fields:

column nametyperequiredarraydefault value
titlestringtruefalse-
discussionIdstringtruefalse-
userIdstringtruefalse-
categorystringtruefalse-
upvotesstringfalsetrue-
paystringfalsetrue-
usernamestringtruefalse-
likesCountintegerfalsefalse0
payCountintegerfalsefalse0

Add the following permission settings in both the collections

permissions

Copy the .env.example content to .env.local and update the environment variables with corresponding Ids from appwrite console

Once you run the Commands and get environment variables and everything fine, we are all set to run the app ✔️

On the root level run the following command:

cd Idea-Xchange
npm run dev

🥁 Features

📜 LICENSE

AGPL 3.0 License