A growing collection of backend projects built to help beginners and freshers learn by reading, running, and extending real examples. β¨
The goal is to cover backend development with Node.js and Express, Python, PHP, and other languages and frameworks over time. Each backend is kept in its own folder so you can explore one stack at a time.
π§ This collection is actively growing. The projects listed below are the examples currently present in the repository; additional languages and backends may be added later.
- π± Beginners learning how a backend handles HTTP requests and returns responses.
- π Freshers looking for small projects to study and build on.
- π Developers comparing how different languages and frameworks structure APIs.
You do not need to understand every project before starting. Pick one, follow its README, run it locally, and explore the code from the server entry point through its routes and data layer.
| Project | Stack | What it demonstrates |
|---|---|---|
| Express Basic | Node.js, Express | A small API with basic routes, JSON responses, and route parameters. |
| Express + MongoDB | Node.js, Express, MongoDB, Mongoose | A REST API organized around routes, a model, and a database connection. |
Each project has its own README with setup instructions and project-specific details. Start there before running a backend.
- π’ Start with Express Basic to understand an Express server, routes, and JSON responses without a database.
- π Explore Express + MongoDB to see how an API can connect to a database and organize route and model code.
- π§ͺ Run and inspect each example. Change a route or response, restart the server, and observe the result.
- π οΈ Build a small feature such as a new resource or endpoint, following the conventions used by that project.
- π Try another language or framework as the collection grows, and compare its structure with the existing examples.
Requirements vary by project. For the current Node.js examples, install:
- π© Node.js with npm.
- π» A code editor and a terminal.
- π For Express + MongoDB, access to a MongoDB deployment, either local or hosted.
Check the selected project's README for any additional requirements. Use a Node.js version compatible with that project's dependencies.
Clone the repository, then enter the project you want to run:
git clone https://github.com/Adil-12-Hassan/Backend-Collection.git
cd Backend-Collection/node/express-basic
npm install
npm startFor the MongoDB example, use node/express-mongodb instead and follow its README to configure the database connection before starting it. Do not commit credentials or .env files.
Backend-Collection/
βββ node/
β βββ express-basic/
β βββ express-mongodb/
βββ CONTRIBUTING.md
βββ README.md
New examples should be grouped by language and use a clear project name that describes the framework or focus, for example python/fastapi-basic/.
Contributions are welcome: new backend examples, improvements to existing code, setup fixes, and clearer beginner-friendly documentation are all useful.
Please read CONTRIBUTING.md before opening a pull request. If you are new to open source, documentation fixes and small, focused improvements are great places to start.
This repository is licensed under the MIT License. Check for a project-specific license before reusing or redistributing an individual example.