SparkHacks 2026
Back to the Backend
Objectives
Intro to backend devevlopment
Understand the importance of building backends
Exposure to Node.js + MongoDB
Walkthrough of a real implementation of a simple backend you can use for your projects
What’s a backend?
What’s a database?
Sql
NoSql
Tables with rows and columns | Collections and documents |
Data is often closely related to each other | More flexible structure for data |
Uses a language called SQL | JSON-like objects, very easy to use with backend languages like JavaScript |
Why MongoDB?
GitHub Link
Server set up
Node.js: runtime environment that lets developers run code outside of the web browser
Express: framework that simplifies having to write some of the code to handle HTTP requests
Mongoose: a ODM library that makes it really simple to connect to MongoDB
Cors: a way for browsers to protect themselves. We add a header in our server code to safely connect frontend and backend.
Let’s take a look at the code
Models and Schema
Schema
Models
A template that outlines how the data document should be structured
Models are programming interfaces that we can use to interact with the DB
HTTP Requests
GET
Read Data
POST
Create Data
PUT
Update Data
DELETE
Delete Data
Communication method between the frontend and backend
CRUD Operations
Mongoose Docs
Feedback Link!
We really appreciate your feedback! We strive to make SparkHacks better each year, please fill out this form to let us know what you liked or not! Thank you! :)
Before you go!
Scan the QR code to learn about their platform:
Aedify.ai will be at SparkHacks! Join the workshop led by CTO Zhuo Chen to learn more about scalable deployment of web applications!
Instructions for use
For more information about editing slides, please read our FAQs or visit Slidesgo School:
https://slidesgo.com/faqs and https://slidesgo.com/slidesgo-school
If you have a free account, in order to use this template, you must credit Slidesgo by keeping the Thanks slide. Please refer to the next slide to read the instructions for premium users.
As a Free user, you are allowed to:
- Modify this template.
- Use it for both personal and commercial projects.
You are not allowed to:
- Sublicense, sell or rent any of Slidesgo Content (or a modified version of Slidesgo Content).
- Distribute Slidesgo Content unless it has been expressly authorized by Slidesgo.
- Include Slidesgo Content in an online or offline database or file.
- Offer Slidesgo templates (or modified versions of Slidesgo templates) for download.
- Acquire the copyright of Slidesgo Content.
Instructions for use (premium users)
As a Premium user, you can use this template without attributing Slidesgo or keeping the "Thanks" slide.
You are allowed to:
You are not allowed to:
For more information about editing slides, please read our FAQs or visit Slidesgo School:
https://slidesgo.com/faqs and https://slidesgo.com/slidesgo-school
Fonts & colors used
This presentation has been made using the following fonts:
#6f1c43
#ffe290
#ffb243
#b7233f
#80192c
#ffffff
#d9d7d3
#869fb1
#2a2a53
#000d20
Storyset
Create your Story with our illustrated concepts. Choose the style you like the most, edit its colors, pick the background and layers you want to show and bring them to life with the animator panel! It will boost your presentation. Check out how it works.
Use our editable graphic resources...
You can easily resize these resources without losing quality. To change the color, just ungroup the resource and click on the object you want to change. Then, click on the paint bucket and select the color you want. Group the resource again when you’re done. You can also look for more infographics on Slidesgo.
JANUARY
FEBRUARY
MARCH
APRIL
MAY
JUNE
PHASE 1
PHASE 2
Task 1
Task 2
Task 1
Task 2
| | | |
| | | |
| | | |
| | | |
JANUARY
FEBRUARY
MARCH
APRIL
PHASE 1
Task 1
Task 2
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
...and our sets of editable icons
You can resize these icons without losing quality.
You can change the stroke and fill color; just select the icon and click on the paint bucket/pen.
In Google Slides, you can also use Flaticon’s extension, allowing you to customize and add even more icons.
Educational Icons
Medical Icons
Business Icons
Teamwork Icons
Help & Support Icons
Avatar Icons
Creative Process Icons
Performing Arts Icons
Nature Icons
SEO & Marketing Icons