Skip to content

jovertical/auction-app

Repository files navigation

Auctions App

This is an app that allows users to post items for auction and other users to bid on them.

🚀 Quick Start

Run project locally - needs a deployed Next.js app (see Deployment):

# First, install dependencies
npm install

# Then, setup prisma
npm run prisma -- generate
npm run prisma -- db push # Needs to be run after every change to the `schema.prisma` file

# Then, run the app
npm run dev

# Finally, open the app in your browser: http://localhost:3000

✨ Features

  • User authentication
  • Item listing and publishing
  • Credit deposit
  • Live auction
  • Auctioned item closing (CRON job)
  • Realtime activity feed
  • Bid history

Tech Stack

Testing

npm test

Deployment

Since this is a fullstack Next.js app, it can be deployed using the Vercel CLI:

# Authenticate with Vercel
vercel login

# Add project to Vercel
vercel project add my-project-name

# Link project to Vercel
vercel link my-project-name

# Setup environment variables
vercel env add NEXTAUTH_URL production # https://[app-name].vercel.app
vercel env add NEXTAUTH_SECRET production # [random string]

# Deploy
vercel --prod

Vercel Postgres should be configured after deployment.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages