| theme | seriph | |
|---|---|---|
| title | Intro To Fullstack | Abhinav | |
| info | ## Intro To Fullstack | Abhinav Prepared for AKCSSC 2024 - GECK December 14, 2024 | |
| class | text-center | |
| drawings |
|
|
| mdc | true |
For AKCSSC'24
GECK, Dec 14 2024
GECK, Dec 14 2024
Product Dev @ Envestnet
Java
Fullstack Javascript (mainly) & others
Fundamentals of Fullstack Web
Writing responsible code
Getting Industry Ready
Slides + Code
Ask Questions Anytime
Notes?
Request travels through network
What data can be requested or sent
How to make these requests (protocols)
- Architecture style for building APIs.
- Over http/https
- Key principles:
- Client-Server: Separation of client and server concerns.
- Stateless: Each request contains all necessary information.
- Cacheable: Responses must define cacheability.
- Uniform Interface: Standardized operations.
- Layered System: Modularity for scalability.
| GET | Retrieve data |
| POST | Submit data to create |
| PUT | Update existing data |
| DELETE | Remove data |
| PATCH | Partially update existing data |
Types of Databases:
- Relational Databases: Structured, uses tables (e.g., MySQL, PostgreSQL).
- NoSQL Databases: Flexible schema, often for unstructured data (e.g., MongoDB, Firebase).
- Modern databases, like vector db's, graph db's and more.
- Standard language for interacting with relational databases.
- Common SQL operations:
- SELECT: Retrieve data from a table.
- INSERT: Add new data to a table.
- UPDATE: Modify existing data.
- DELETE: Remove data from a table.
- Relational concepts:
- Primary Keys: Unique identifier for records.
- Foreign Keys: Links between tables.
INSERT INTO users (name,age,country)
VALUES ("Abhinav","24","India");SELECT name, age
FROM users
WHERE age > 18;- Insert a new entry(row) into table.
- Retrieves names and ages of users older than 18.
- HTML: structure, format, and content of a page.
- CSS: layout and appearance.
- Javascript: interactivity and functionality.
- WebAssembly??? : run multiple languages in browser
React, Vue, Svelte, Solid and many more...
No Basics, No Use
- A programming language with basic networking capabilities (Almost all)
- Create a server, and listen(open) a port
- Serve endpoints (eg : / should serve 'hello', /account should serve 'hi')
- Proper error handling (responsible 🙂)
- Use HTML, CSS and JS (no frameworks!)
- Create a form
- Send request to server, HANDLE FRONTEND ERRORS!
- Display the results
visit github.com/codespaces



