Brief Aim is to create a todo list for work in my shed. This todo list will be cloud based Allow for entering and updating to do items (todos) Allow for completion of to do items (todos) Allow for different kinds of to do list (categories) Have a detail view with a description for…
Wiki Category: Coding and Programming
Project: The Local Library Website (Part Seven)
Overview already defined mongoose models to interact with the database Used to script to create some initial library records. Can now write this code to present that information to users Determine what information we want to display in our pages The define appropriate URLs for returning those resources. Then we create routes (URL handlers) and…
Project: The Local Library Website (Part Six)
Setting up the MongoDB database Use MongoDB Atlas Free cloud hosted sandbox database Not for production, but great for development and prototyping it here. Could also use Compose, ScaleGrid, ObjectRocket. Create an account here: create an account Then build da cluster button Select region, then create cluster Collections, add my own data Database name: local_library…
Project: The Local Library Website (Part Five)
Mongoose Primer Installing Mongoose and MongoDB First step is install Mongoose and MongoDB To install mongoose – npm install mongoose. For Mongo, we can either have a local installation, or cloud based database service. Local installation instructions here: download installers from here MongoDB Atlas here: MongoDB Atlas Part one is connecting to MongoDB. We need…
Project: The Local Library Website (Part Four)
Overview The local library website will store information about books and borrowers. We will use Mongoose to provide database access for the locallbrary website. Explains how object schema and models are declared, main field types, basic validation. Shows a few ways in which you can access model data Express apps – can use many different…
Project: The Local Library Website (Part Three)
The LocalLibrary website Name of the website that we’ll create and evolve over the course of these tutorials. Provide an online catalogue for a small local library. Start by creating a skeleton project. Overview Create a skeleton website using Express Application Generator. Can then popular with site-specific routes, views/templates and database calls. Using the application…
Project: Local Library Website (Part Two)
Express Development Environment Overview node and express make it every easy to set up your computer to start developing applications. This provides an overview of what tools are needed, explains some of the simplest methods for install Node and Express, and How to test your installation What is the express development environment? Express – installation…
Project: Local Library (Part One)
Working from here: https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs Express/ Node Introduction Introducing Node Node – open source, cross platform, runtime environment. Creates all kinds of server-side tools Uses JavaScript. Outside a browser context – basically running directly on a computer or server. Great performance, plain JS, NPM – packages, portable Active community Hello Node.js Simple web server Listens for…
Mapping Class Discussions.
So, I wanted to see if I could construct a network diagram of the discussions in one of my subjects. After a bit of fielding, I managed to do exactly that. Discussion_1_edges <- read_excel(“Discussion_1_edges.xlsx”) Discussion_1_nodes <- read_excel(“Discussion_1_nodes.xlsx”) nodes <- Discussion_1_nodes edges <- Discussion_1_edges ### igraph only takes matrices. Need to convert frist to a matrix….
Time Series and EduReading Data
I was asked to do a very simple time series chart showing how #edureading contributions have changed over time. It was easy to do, both in R Studio and Tableau. Quite a difference in appearance, although I did only use the very basic tools in R Studio. ### EduReading Time Series Data library(rtweet) ts_plot(edureading_may21, “days”)…