

This is a Next.js project bootstrapped with create-next-app
.
- NextJS
- Appwrite
- DaisyUI (Tailwind)
- Sign up to Appwrite and create a project (free)
- Create database
- Create collections
app
with the attributesratings
: integerrepos
: integerstars
: integer- create empty document with
0
for each attribute
- Create collections
ratings
with the attributesurl
: urlusername
: stringrating
: integer
- Create collections
repos
with the attributesurl
: urldescription
: stringname
: stringvotes
: integerrating
: doubleowner
: stringlogo
: string
- Copy
.env.example
template file to.env
- Get you private keys from Appwrite and add them to
.env
template (all data are required) - Run the development server with:
npm ci
npm run dev
Open http://localhost:3000 with your browser to see the result.
Add the following markdown to your README to show your RepoRater badge and link to rate your repository.
[](https://repo-rater.eddiehub.io/rate?owner=EddieHubCommunity&name=RepoRater)
Change the owner
and name
parameters to your GitHub org/username and repository name.
The default badge is "flat" but there are other styles if you prefer. Here are the options with examples:
style | badge |
---|---|
flat | |
flat-square | |
for-the-badge | |
plastic | |
social |
Automatically comment on issues and pull requests to get votes
name: repo-rater
run-name: repo-rater (#${{ github.event.issue.number || github.event.pull_request.number }})
permissions:
issues: write
pull-requests: write
on:
issues:
types: [closed]
pull_request:
types: [closed]
jobs:
repo-rater:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: xkrishguptaa/action-repo-rater@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
More details https://github.com/xkrishguptaa/action-repo-rater
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!