Welcome to the Backend Bootcamp with Node.js, Express.js, and MongoDB!
This repository is designed for mentees to learn full-fledged backend development by building hands-on projects, one step at a time.
Each mentee will have their own folder (named after themselves) where they will complete and commit all their tasks.
By the end of this bootcamp, you'll be able to:
- Set up a Node.js server
- Create APIs using Express.js
- Understand RESTful routing
- Work with MongoDB (CRUD operations)
- Use Postman for API testing
- Implement Authentication and Authorisation using JWT
- Connect backend to frontend (basic integration)
- Structure a backend project using MVC architecture
Each mentee must create a folder using their full name (in lowercase and separated by hyphens). For example: slok-tulsyan/
Each task should be inside its own subfolder with clear naming (e.g., task-01, task-02), and should include:
index.js(entry point)package.json.envfile (if required, do NOT push sensitive data)- A
README.mdinside each task folder explaining what you've done
- Initialize a Node.js project
- Create a simple server using Express.js
- Setup basic routes (
/,/about) - Use nodemon
- Setup MongoDB using Mongoose
- Integrate your database with your created server
- Create a CRUD API for "Todo" & "Note" resources
- Store data in Database
- Add user registration and login routes
- Hash passwords using bcrypt
- Use JWT for protected routes
- Apply MVC architecture
- Use routers and controllers
Follow these steps to contribute to this repository:
Click the Fork button at the top-right corner of this repo. This creates your own copy of the repo under your GitHub account.
git clone https://github.com/<your-username>/<repo-name>.git
cd <repo-name>Inside the root of the repo, create a folder named after you in kebab-case:
mkdir <your-name>
cd <your-name>Create subfolders for each task and start coding!
git add .
git commit -m "<commit-message>"
git push origin mainIf you are working on a separate branch:
git checkout -b <branch-name>
git push origin <branch-name>Go to your forked repo on GitHub, and click on "Contribute > Open pull request".
- Add a title and description
- Mention which task you completed
- Submit the pull request
- Make sure your code runs without errors.
- Do not commit .env files or node_modules.
- Use meaningful commit messages.
- Write a small README.md inside each task folder explaining your implementation.
If you have any questions, feel free to reach out during mentorship sessions or raise an issue in this repo.
Happy coding! π»π₯