Awesome-Links is a full-stack web application that allows users to browse through a curated list of links and bookmark their favourite ones. This README provides an overview of the project and instructions for contributing. This repository is open for Hacktoberfest 2023!!
- Browse and search for curated links.
- Bookmark favorite links for later reference.
- User authentication and authorization.
- Add new links to the curated list (admin functionality).
- Clean and responsive user interface.
Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.
- Node.js: Download & Install Node.js
- npm: Typically comes with Node.js installation
- PostgreSQL: Download & Install PostgreSQL
-
Clone the repository:
git clone [https://github.com/therealdhruv/awesome-links.git](https://github.com/therealdhruv/Awesome-Links.git) cd awesome-links
-
Install project dependencies:
npm install
-
Set up the database:
# Create a PostgreSQL database (if not already created) # Create a new `.env` file and add your database configuration. # It could look something like this: DATABASE_URL="postgresql://username:password@localhost:5432/dbname" # Run Prisma migrations to create tables: npx prisma migrate dev # Seed initial data (optional): npm run prisma:seed
-
Start the development server:
npm run dev
-
Open your web browser and visit http://localhost:3000 to see the app in action.
We welcome contributions from the community! To contribute to this project, follow these steps:
-
Fork the repository on GitHub.
-
Clone your forked repository to your local machine:
git clone https://github.com/therealdhruv/awesome-links.git cd awesome-links
-
Create a new branch for your feature or bug fix:
git checkout -b feature/my-new-feature
-
Make your changes and commit them:
git commit -m "Add a new feature"
-
Push your changes to your fork on GitHub:
git push origin feature/my-new-feature
-
Create a pull request from your forked repository to the original repository.
-
Describe your changes and submit the pull request.
We'll review your contributions and merge them into the project if they align with our goals.
- Next.js
- Tailwind CSS
- Prisma
- GraphQL
- Apollo Client
- Auth0 Next.js SDK
-
This is because the
/bin/sh: pnpm: command not found
pnpm
package manager is not installed or not available in your system. You need to install it globally by running:npm install -g pnpm