A CRUD application for marketers to create orders for buyers
Table of Contents
This project was built with following packages and framework
In the Narrative Marketplace, a buy order describes the parameters for purchasing data. A buy order can have the following fields:
- Name: Name for the buy order.
- Max Bid Price: The maximum amount that a buyer is willing to pay for data.
- Data Package Type: The type of data being purchased. The possible values are "Device Location", "Device Behavior", and "ID Mapping".
The goal of this task is to implement a web app for working with buy orders. It should support the following use cases:
- Creating a new buy order
- Displaying an existing buy order
- Updating an existing buy order
- Deleting a buy order
This is an example of how to list things you need to use the software and how to install them.
- npm
npm install npm@latest -g
Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services.
- Clone the repo
git clone https://github.com/despeauxz/narrativre
- Switch to the
master
branch - Install NPM packages
npm install
- Run
npm run serve
, then you be able to preview the project onhttp://localhost:8080
Local Storage is used to persist products since there's no time to spin up a NODE server in a mono-repo structure(BE and FE)
- By the sidebar, there's a button to create products
- Products are displayed in 2 views(Grid and List)
- You can view more details by clicking the cards and then you have action items if you are switched as a Merchant(Update and Delete) for Buyers, they only have the Buy button enabled
- You can click the delete button and remove product and likewise update button to toggle the product form
- Creating a new buy order
- ADisplaying an existing buy order (List and Grid)
- Updating an existing buy order
- Deleting a buy order
- Tried to create a buyer and marketer design structure but had little time since I'm still working for my current employer
See the open issues for a full list of proposed features (and known issues).
Distributed under the MIT License. See LICENSE.txt
for more information.