Note board for little robin
Initialized by [email protected]
ENV versions:
- Node: 8.11.4
- Webpack: 3
|- .story [Storybook configuration folder]
|- server [Server side code folder]
|- src [Client side code folder]
|- helper [common helper code]
|- ins [ins server code]
|- helper [ins internal helper code]
|- config [ins internal configuration json]
|- middleware [middleware code]
|- router [router code]
|- wacai [wacai server code]
|- scripts [javascript code]
|- components [common components code]
|- page [page level code]
|- {page-name}
|- {component-name} [components consumed by parent page]
|- uikit [common ui kit code]
|- reducers [TBD: redux reduces code]
|- services [TBD: mock services code]
|- styles [common styles code, fonts, images]
Default server port: localhost:5000
Instagram login via username / password or facebook.
/api/ins/login
Search related users with search string param.
/api/ins/searchUser?searchString={searchString}
Search related images with search text param.
/api/ins/searchImage?searchText={searchText}
Search all images related with specific user.
/api/ins/images?id={id}offset={offset = 20}nextTimeHash={nextTimeHash}
Search all images related with specific user.
/api/ins/downloadImage?img={imageUrl}id={id}type={twitter | ins}insName={insUserName}
url prefix:
/api/wacai
: need token set in cookies, and then request could be valid.
/api/proxy/wacai
: automatically fetch token via login middleware, and then perform following actions.
Wacai user login.
/api/wacai/login
Load all wacai data by specific time range.
Save related data as json file in /server/wacai/files
named as time range definition.
Search file first, if not matched, then fetch data from wacai server.
/api/proxy/wacai/loadData?fromDate={fromDate = 20181010T12:00:00}&toDate={toDate = 20181011T12:00:00}
Default client port: localhost:3000
Client pages.
Page for Robin to learn chinese word.
localhost:3000/chinese
Page for color dashboard.
localhost:3000/colors
Page for wacai dashboard, including statistic display.
localhost:3000/finance
Page for instagram images display.
localhost:3000/instagram
Page for twitter images display, with lazy load testing.
localhost:3000/paint
Page for math learning.
localhost:3000/number
Download link: https://www.fontsquirrel.com/fonts/merriweather
Inspired by: Dan Abramov - The Elements of UI Engineering