Nassim API
- Backend for a stock trading app.
- See Nassim React for frontend.
Stack
- Server: Node.js, Express.js
- Database: MongoDB Atlas, Google Cloud
- Deployment: Heroku, Netlify, Travis CI
- Authentication: JWT, passport
Planning
- Data model and data flow diagrams
- Data model
- Data flow
- User flow and class diagrams - click tabs on the bottom to toggle between user flow diagram and class diagram
- Buy and Sell mindmap
- Buy
- Sell
- Sign up
- Sign in
- Page mockups
- Header and Footer
- Home
- Landing
- Market View
- Stock
- Transactions
- Portfolio
- Account
Setup
- Configure environment variables in
config
- Database URL
- Port
- Configure variables in
.env
(reference)- Database URL
- Port
- Alpha Vantage API key
- Server
- Allow module export
- Models, controllers, routes
- Account
- Stock
- Portfolio
- Transaction
- Basic classes
- Development database
- MongoDB shell
- Mock data
- Testing
Develop
Core Components
- Stock
- Buy
- Sell
- Transaction
- Stock
- Price
- Quantity
- Value
- Account
- Password
- Balance
- Assets
- Portfolio
- Value
- Stock
Authentication
Deploy
- Production database
- MongoDB Atlas
- Google Cloud Platform
- Travis CI
- Netlify