@gigster/template-marketplace
v2.0.2
Published
Role | Name | Email | Slack ---- | ---- | ----- | ----- *Product Owner* | Frances Haugen | [[email protected]](mailto:[email protected]) | [@frances](https://gigster.slack.com/messages/@frances) | *Maintainer* | Mark Miyashita | [mark.miyashita@gigste
Downloads
33
Readme
Marketplace Template
Role | Name | Email | Slack ---- | ---- | ----- | ----- Product Owner | Frances Haugen | [email protected] | @frances | Maintainer | Mark Miyashita | [email protected] | @mark |
Overview
The template-marketplace
quickly scaffolds a working marketplace API. It includes the following modules:
Usage
On first generate
, the module will ask the gigster which kind of marketplace they would like to create. The two options are:
goods
services
Each of the marketplaces has a set of models that it creates as part of the generate
process.
Models
The module contributes the following models to the project.
Model | Description
------|------------
user
| Adds properties to the default user
model.
item
| This is the item
that the user is selling. This only applies to the goods
marketplace.
offering
| This is the offering
that the user is placing on the marketplace. This only applies to the services
marketplace.
Examples
Goods Marketplace
A goods marketplace sells fixed-price goods.
Services Marketplace
A services marketplace offers services.