Gator Marketplace is an online platform that connects buyers and sellers within the UF community. Users can post listings, browse products, and securely complete transactions, all in one convenient app.
gator-marketplace/
├── marketplace-fe/ # Angular frontend
├── marketplace-be/ # Gin backend
Ensure the following tools are installed:
- Node.js (v16+)
- Angular CLI (v19.1.4+)
- Go (v1.18+)
- PostgreSQL
- AWS S3
- Google Maps API
- (Optional) Docker & Docker Compose
Carefully read the
README.mdfiles in bothmarketplace-fe/andmarketplace-be/for detailed setup instructions specific
cd marketplace-fe
npm installng serveVisit http://localhost:4200/ to see the app running. It will auto-reload on source changes.
ng build # Dev build
ng build --prod # Production buildng testEnsure Cypress is installed and configured. Then:
npx cypress openor run headlessly:
npx cypress rungit clone <repository-url>
cd marketplace-bego mod tidy-- Replace <USER>, <PASSWORD>, <DB> accordingly
CREATE USER <USER> WITH PASSWORD '<PASSWORD>';
CREATE DATABASE <DB>;
GRANT ALL PRIVILEGES ON DATABASE <DB> TO <USER>;
\c <DB> postgres
GRANT ALL ON SCHEMA public TO <USER>;docker-compose up -dCreates:
- User:
gator- DB:
marketplace- Password: from
.envfile
Create a .env file in the root of the backend directory:
cp .env.example .envGenerate a JWT secret:
openssl rand -base64 32Update the database URL, JWT secret, and other values as needed.
go run main.goBackend starts on the port defined in .env (default: 5000).
ng lintUse golangci-lint or go fmt for linting and formatting.