/bestsell

Primary LanguagePythonMIT LicenseMIT

BestSell

Find out best sold items and whatnots on Mercari with unofficial API.

  • Frontend : Next.js
  • Backend : Python
  • Web server: Nginx
  • Database : PostgreSQL

All in docker.

Get Started

Install Docker Desktop

https://docs.docker.com/desktop/

Backend Setup

cp -ip ./backend/.env.dev ./backend/.env

Start Services

docker compose up

Database Setup

./bestsell backend
make migrate
make seed

Update Categories

  1. Access http://localhost/bestsell/api/docs#/categories/update_categories_categories__post

  2. Click on Try it out button

  3. Click on Execute button

Web Access

Type URL
Service http://localhost/bestsell
API Docs http://localhost/bestsell/api/docs

Development

Docker Container Access

# Access backend server
./bestsell backend

# Access frontend server
./bestsell frontend

# Access PostgreSQL database
./bestsell db