This project is a work in progres, and the goal of it is to learn how these technologies are setup
Server-side rendering with react (and redux) including detail pages (e.g., blog posts).
clone
npm install
mkdir mongo_data
mkdir mongo_data/db
To run project you must run
npm run mongod
to start a mongo instancenpm run webpack
to start webpacknpm run dev-start
to start server (withbabel-node
)
npm run build
npm start
- react
- react-dom
- redux
- react-redux
- redux-connect
- react-router
- reselect
- Create an instance of Amazon Linux on AWS
- connect to instance with
ssh -i "<pem-file-name>.pem" ec2-user@ec2-35-164-36-7.us-west-2.compute.amazonaws.com
- installing node on Amazon Linux (stackoverflow)
- installing MongoDB on Amazon Linux
- run mongo with
sudo service mongod start
- run mongo with