Skip to content

A fun CRUD app for learning how CRUD behaves based on quotes from the true crime podcast from the mystery-comedy show .... Only Murders in The Building!

Notifications You must be signed in to change notification settings

deesclouds/only-murders-in-the-building

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Only Murders In The Building

A fun CRUD app for learning how CRUD behaves based on keeping track of a list of quotes from the true crime podcast from the mystery-comedy show .... Only Murders in The Building!

only-murders-in-the-building

What is CRUD?

What is Express? A framework for building web applications on top of Node.js

MongoDB? Is a database where we store information for our sites and applications.

CRUD? Set of operations we get our servers to execute:

Create - (Post) - Make something Read - (Get) - Get something Update - (Put) - Change something Destroy - (Delete) - Remove something

Post, Get, Put, Delete - requests lets us construct REST APIs.

This is how crud works: We make requests from our Browser that passes data to our Server, that then passes data to our Database, then our Database responds with data back to our Server, which then our CRUD app lives between our Server and Browser where we can then see that data within out Browser.

If that doesn't make enough sense right now that's ok. This diagram from zellwk.com can help clarify things:

image of crud

Technologies Used:

Html Css - Grid JavaScript Ejs Node.js Nodemon Express MongoDB Body Parser - which is deprecated and needs to be updated within the codebase.

Setup:

Check if Node is installed:

Within your terminal run:

node -v

If node is not installed download through the Node site, or through a package manager: HomebrewMac and Chocolatey Windows.

Getting Started:

npm init -y

The flag -y let's us pass through all the prompts to get started quickly.

Running Node:

touch server.js

create our server.js file, then place a console.log with a statement that lets us know that Node is working.

run node server.js to display our statement.

Running Express:

npm install express --save

The flag --save has express to save as a dependency within our package.json file. Then within

About

A fun CRUD app for learning how CRUD behaves based on quotes from the true crime podcast from the mystery-comedy show .... Only Murders in The Building!

Resources

Stars

Watchers

Forks