- git clone
- yarn
- npm run server
- open another cmd terminal and npm start
-
SPAs are single page applications. They serve a single webpage to the user that uses Javascript to get site data from an API. This lets you update information live and the user's site experience requires no loading of new pages.
-
View frameworks have many different kinds, React is a very popular and hyped up one managed by Facebook.
- Redux is the thing in between React and the data. It does actions on the data and moves it around and makes it available to React and passes it to the server. You can think of it as a data service that is available across the entire site and maintains the same data store across different pages
- WebSocket's allow close to real time transmission of data. It'll be how we do chat and comments on the site.
- Koa lets us take http requests and other requests and serve stuff back that we set and decide on with JS.
- Koa is very lightweight compared to Express and doesn't include anything out of the box.
- Socket.io has a server-side part to interact with the client.
- Mongoose communicates with our Mongo database which is a doc-store style db, which means we don't have to do much if we want to change our database setup
- Passport is pretty much the best authentication system afaik.