- install dep if outdated
make install
- run app
make web
- clean app
make clean
1. Run PowerShell as Admin
2. Set-ExecutionPolicy RemoteSigned
3. Y
All users add to the same stock transactions list when placing an order. Additionally, all users can see this unified stock transaction list when viewing their stock transaction history.
make clean
, then make install
, then make
in the main directory.The process is repeatable. Orders placed by any user account will be visible by all accounts.
Currently the backend only returns a list of all stock transactions placed by all users. This logic can be seen in the function getStockTransactions()
used in order.routes.ts
and order.controller.ts
. We need to implement a filter in this logic to only find stock transactions placed by the currently signed in user. The desired functionality can be seen in stock.routes.ts
and stock.controller.ts
for the getStockPortfolio()
function. Using the user's auth key in a similar way we can find stock transactions per user.
If the database already has a separate stock transaction history table for each user, then a fix for this is pretty straightforward as outlined above. Otherwise, if the backend is just storing all stock transactions into one table in the database, then logic must be implemented to create a table for each user, or add a user_name
to each entry.
A separate transaction table for each user will probably be faster? If there was only one table then the backend would have to comb through the entire table and pick out only the currently logged in user's transactions, which would be wasteful when the table gets large. Any additional thoughts on the matter is appreciated.
Originally posted by @stephenneale in #22 (comment)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.