This repo is for my submission for the 1Password X hashnode X hackathon which took place during June 1 - June 30, 2023
Hashnode article: Share your milestones and memories with "Post iT"
**Node version 16.8 or later
**macOS, Windows (including WSL), and Linux are supported.
git clone https://github.com/trace2798/passage_fullstack.git
npm i
NEXT_PUBLIC_PASSAGE_APP_ID=
NEXT_PUBLIC_PASSAGE_API_KEY=
DATABASE_URL=
Disclamer: Recently, when I named my env file as .env.local I ran into some problems with prisma so if you face similar problem just name is as .env and do not forget to add it to your .gitignore. After adding .env to your gitignore and if the .env file is getting pushed with your commit then check this link out
npm run 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 |
"postinstall": "prisma generate" is required if you want to deploy your site.
For env value and functionality of this application I have wrote a very detailed article on hashnode
Youtube Demo Link: Post iT