A full-stack seed trading platform with a market visualization dashboard and seed management system.
- Backend: Python with Flask
- Frontend: Node.js with Express
- Database: PostgreSQL
- Interactive seed market dashboard with price charts
- Trending seeds visualization
- Seed management system
- CRUD operations for seed inventory
SeedMart is a demonstration application designed to showcase modern full-stack development techniques. Like a digital fidget spinner for developers, it's engaging and functional while serving educational purposes.
This fictional plant seed marketplace features:
- Historical Market Data: The PostgreSQL backend stores rich time-series data modeling seed price fluctuations
- Trading Platform Interface: Inspired by real-world financial platforms like TradeZero and TradingView
- Non-trivial API Implementation: RESTful endpoints with proper error handling and data validation
- Engaging Visualization: Interactive charts and dashboards that respond to real-time data updates
- Production-Ready Architecture: Designed for deployment on AWS with Docker containerization
While SeedMart isn't a real trading platform, it demonstrates how complex financial interfaces can be built with modern web technologies, showcasing the seamless integration between a Flask backend and an interactive frontend.
cd backend
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
python app.py
cd frontend
npm install
npm run dev
Follow the setup instructions in the "Getting Started" section.
- Set up a production server (Heroku, AWS, DigitalOcean, etc.)
- Configure environment variables:
DATABASE_URL=your_production_database_url SECRET_KEY=your_secure_secret_key
- Install Python dependencies:
pip install -r requirements.txt
- Run with a production WSGI server:
gunicorn app:app
- Set up a Node.js environment
- Configure environment variables:
API_URL=your_production_backend_url
- Install dependencies:
npm install
- Start the server:
npm start
Use the provided docker-compose.yml to deploy both services:
docker-compose up -d
/
- Market view with seed price charts/manage.html
- Seed management interface
- GET /api/health - Health check endpoint
- GET /api/seeds - Get all seeds
- GET /api/seeds/:id - Get specific seed
- POST /api/seeds - Create new seed
- PUT /api/seeds/:id - Update seed
- DELETE /api/seeds/:id - Delete seed