Skip to content

JenBauer/freeCodeCamp_IntroToBackend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro to Backend Project

Intro to Backend project on freeCodeCamp. Thank you, Shivani! Watch the whole tutorial at https://www.youtube.com/watch?v=KOutPbKc9UM.

Overview

The following are the key project files.

.

├── backend

│ └── src

│ ├── config

│ │ ├── cosntants.js // Not sure this was needed

│ │ └── database.js

│ ├── controllers

│ │ ├── post.controller.js

│ │ └── user.controller.js

│ ├── models

│ │ ├── post.model.js

│ │ └── user.model.js

│ ├── routes

│ │ ├── post.route.js

│ │ └── user.route.js

│ ├── app.js

│ └── index.js

├── .env // You make this! Make a MongoDB Atlas account to set up the database connection.

├── .gitignore

├── package-lock.json

├── package.json

└── README.md

How to Run

In your local checkout, you'll need an Environment file.

In the .env, include the following:

MONGODBURI=[Replace this bracket with the connection URI from MongoDB Atlas]

PORT=4000

Then, run the app with 'npm run dev' in the terminal.

Build it Yourself!

The following were installed during this project:

  1. npm init
  2. npm install express
  3. npm i mongoose
  4. npm i dotenv
  5. npm i nodemon
  6. npm i bcrypt

About

Project files matching the Intro to Backend course by freeCodeCamp.org (2025 Nov)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors