This repo is for my submission for the Grafbase X Hashnode X hackathon which took place during August 1 - August 15, 2023
Hashnode article: Post your thought with "Graphy"
**Node version 16.8 or later
**macOS, Windows (including WSL), and Linux are supported.
git clone https://github.com/trace2798/graphy_postit.git
npm i
NEXT_PUBLIC_GRAFBASE_API_URL=
NEXT_PUBLIC_GRAFBASE_API_KEY=
GITHUB_ID=
GITHUB_CLIENT_SECRET=
NEXTAUTH_SECRET=
NEXT_PUBLIC_SERVER_URL=
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=
npm run dev
On a different terminal run the command below to start your local grafbase server
npx grafbase@0.24 dev
Running commands with npm npm run [command]
command | description |
---|---|
dev |
Starts a development instance of the app |
build |
To build your application |
start |
Starts a production instance of the app |
For env value and functionality of this application I have wrote a very detailed article on hashnode
Youtube Demo Link: Graphy