Skip to content

Gutta09/artgall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArtGalli: Online Art Gallery & Auction Platform

Full-stack MERN app with role-based auth for artists, buyers, and admins. Includes artwork management, auctions, bidding, orders, and notifications.

Auth uses httpOnly cookies; client sends credentials automatically.

Prerequisites

  • Node.js 18+
  • MongoDB connection string

Setup

  1. Create .env files:
    • server/.env
    • client/.env

server/.env

PORT=5002
MONGODB_URI=your_mongodb_connection
JWT_SECRET=your_jwt_secret
CLIENT_ORIGIN=http://localhost:5173

client/.env

VITE_API_URL=http://localhost:5002/api
  1. Install dependencies:
npm run install:all
  1. Run dev servers:
npm run dev

Accounts

Use /api/auth/register to create accounts with roles: artist, buyer, admin.

Scripts

  • npm run dev:server
  • npm run dev:client

About

Art gallery marketplace — artist/buyer/admin dashboards, live auctions, payments · React + Express + MongoDB

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors