· Report a bug · Request a feature ·
LinkHub is a portal to help learners to find the best resources from those available on the World Wide Web. It builds a network of resources wherein all users can post links of resources which they have used and allowing everybody to rate them. With this, the resources are ranked based on the feedback by others who have tried and tested those, thus to provide the learner only the best of the best.
- No signup required to access the resource data.
- User-friendly and informative UI for desktops.
- Markdown editor to create posts.
- Search using tags, titles or authors.
- Ranking of posts (resources) based on upvotes to downvotes ratio.
- Moderation of posts using flags.
To get a local copy up and running follow these simple steps.
In order to get a copy of the project you will require you to have Node.js (v14+) and the NPM package manager installed. If you don't have it, you can download the latest version of Node.js from the official website which also installs the NPM package manager by default.
Open the terminal in the folder in which you wish to clone the repository and enter the following command:
git clone https://github.com/1407arjun/linkhub.git
cd linkhub
Install all the NPM packages:
npm i
In order to run the project in development mode use:
npm run dev
In order to build the project and run, use:
npm run build
npm start
Note that you will have to add your own
.env
file at the root directory and add your own environment variables for the project to build. Following are the environment variables used:
MONGODB_CLIENT_URI
- The MongoDB connection stringAUTH_SECRET
- The secret used when creating a sessionNEXTAUTH_URL
- The domain name (usually http://localhost:300)GOOGLE_CLIENT_ID
andGOOGLE_CLIENT_SECRET
- The Google OAuth Client ID and Client secret obtained from the Google Cloud Console
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project. (Refer the get started instructions)
- Create your Feature Branch. (
git checkout -b feature/AmazingFeature
) - Commit your Changes. (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch. (
git push origin feature/AmazingFeature
) - Open a Pull Request.
Distributed under the MIT License. See LICENSE
for more information.
- Freepik - For the background images.
- Bootstrap Icons - For all the icons used throughout the website.