You are on page 1of 9

Intro to Backend

Intro to Backend
Review Internet Basics
Static Vs. Dynamic Sites
Stacks/Back End Technologies
Static
Vs.
Dynamic
A Generic Stack

Backend
Server Database
Language/
app

HTML JS
CSS
Reddit's Stack

Python
nginx postgresql
/Flask

HTML JS
CSS
(Backbone)
Our Stack

Node JS Express MongoDB

HTML JS
CSS
Potential Backend Features
Check if the user is Sign Up a User remove post from
logged in DB
Add new post to
DB Sort/Rank posts
Figure out what
HTML, CSS, and Create subreddit
JS to send to the Create new
comment Add to newsletter
User

HTML JS
CSS
Frontend Backend

1. Ask for reddit


homepage 2.Get top posts from DB
send back home page
content
3. Browser renders
home page

4.User enters "dogs"


5.Finds all posts in DB
in search box and
about "dogs"
submits form

6.Sends back HTML for


7.Browser renders the search results
search page page
Where to Next?
Reviewing HTTP Requests
Setting up Dev Environment
Starting Node JS
Writing Web Apps with Express
Adding a Database with MongoDB

You might also like