Setup project for both development and production environments
The stack consists on NextJS for SSR (w/React) + Express, mobX is there for state management.
latest NodeJS is used. v10.10.0
Install modules
npm install
Run Dev Environment
npm run dev
Run Prod Environment
npm run build
npm start
Build it using docker
docker build -t tw_feed .
Run app
docker run --rm -it -p 3000:3000 tw_feed
Run tests with mocha
npm run test ( not working but soon 😉 )