- A basic Go app with mongo driver for filtering the products.
- Import your data to MongoDB and change
flags/config.json
file. (Don't forget to changeDBNAME
) - Change collection name which is located in the
db/db.go
- Default is
const collectionName = "clothes"
. You can change as you like.
- Default is
- in terminal:
go run .
products?productName=slim&productColor=gri&productCompany=defacto
products?productName=jean&gender=kadın&productCompany=koton