This is a small app allowing the user to add and track the best price on its game's wishlist through Allkeyshop's comparison website.
- Install dependencies
npm i
- Copy the .env.example file as .env.local:
BASE_URL=http://localhost:3000
NEXT_PUBLIC_LOCALE=fr-FR
NEXT_PUBLIC_TIMEOUT_BETWEEN_QUERIES=3000 // time in ms between 2 queries to Allkeyshop.com
DATABASE_URL=postgresql://{user}:{password}@localhost:5432/{database}
NEXTAUTH_SECRET= // run openssl rand -base64 32 to generate a random hash
NEXTAUTH_URL=http://localhost:3000
EMAIL_SERVER=smtp://username:[email protected]:587
[email protected]
# Cloudinary credentials used for hosting cover images
CLOUD_NAME=
API_KEY=
API_SECRET=
# Quirrel credentials
QUIRREL_API_URL= // your Quirrel instance's public URL
QUIRREL_TOKEN={paste_quirrel_token_here}
QUIRREL_BASE_URL= // your app's URL
- Copy the prisma/.env.example file as .env
DATABASE_URL=postgresql://{user}:{password}@localhost:5432/{database}
- Run the development server:
npm run dev
# or
yarn dev
This will also run quirrel alongside with it. Quirrel is needed to manage queues.