https://github.com/itxsaaad/node-crash-course-task10
A simple Node.js project to understand the basics of Node.js, modules, HTTP module, custom middleware, and other core modules following the Node.js crash course by Traversy Media.
https://github.com/itxsaaad/node-crash-course-task10
http-server nodejs traversy-media
Last synced: 4 months ago
JSON representation
A simple Node.js project to understand the basics of Node.js, modules, HTTP module, custom middleware, and other core modules following the Node.js crash course by Traversy Media.
- Host: GitHub
- URL: https://github.com/itxsaaad/node-crash-course-task10
- Owner: itxSaaad
- License: mit
- Created: 2024-07-10T05:35:00.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-07-11T10:26:26.000Z (11 months ago)
- Last Synced: 2024-12-31T00:14:05.426Z (6 months ago)
- Topics: http-server, nodejs, traversy-media
- Language: JavaScript
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Server Basics - Node
> A simple Node.js project to understand the basics of Node.js, modules, HTTP module, custom middleware, and other core modules following the Node.js crash course by Traversy Media.
[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![MIT License][license-shield]][license-url]## Live Preview Project
[Live Preview](https://node-crash-course-task10.vercel.app/)
## Features
- **Node REPL:** Interactive shell for executing Node.js commands
- **CommonJS Modules:** Importing and exporting modules using CommonJS syntax
- **ES Modules:** Using modern ES6 module syntax
- **HTTP Module:** Creating and handling HTTP servers
- **Environment Variables:** Managing configuration using .env files
- **Routing:** Simple routing setup for handling different endpoints
- **File System Module:** Reading and writing files
- **Path Module:** Handling and transforming file paths
- **OS Module:** Interacting with the operating system
- **URL Module:** Parsing and formatting URLs
- **Crypto Module:** Using cryptographic functions
- **Events:** Emitting and handling events
- **Process Object:** Interacting with the process running the Node.js application## Built With
## Getting Started
### Prerequisites
- [Node.js](https://nodejs.org/en/) - JavaScript runtime built on Chrome's V8 JavaScript engine
- [JavaScript Fundamentals](https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/JavaScript_basics) - JavaScript (variables, conditionals, loops, functions, arrays, objects, classes)
- [Asynchronous Programming](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Asynchronous) - Asynchronous programming (callbacks, promises, async/await)
- [JSON](https://www.json.org/json-en.html) - How JSON APIs work
- [HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP) - HTTP Basics (status codes, headers, etc.)
- [NPM](https://www.npmjs.com/) - Node Package Manager### Installation
1.Clone the repo
```sh
git clone https://github.com/itxSaaad/node-crash-course-task10.git
```2.Navigate to the project directory
```sh
cd node-crash-course-task10
```3.Install dependencies
```sh
npm install
```4.Run the project
```sh
npm start
```## Contributing
Contributions are what make the open-source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!1. Fork the repo
2. Clone the project
3. Create your feature branch (`git checkout -b feature/AmazingFeature`)
4. Commit your changes (`git commit -m "Add some AmazingFeature"`)
5. Push to the branch (`git push origin feature/AmazingFeature`)
6. Open a pull request## Contact
- Twitter: [@itxSaaad](https://twitter.com/itxSaaad)
- LinkedIn: [@itxSaaad](https://www.linkedin.com/in/itxsaaad/)
- Portfolio: [@itxSaaad](https://portfolio-itxsaaad.vercel.app/)
- Email: [[email protected]](mailto:[email protected])## License
Distributed under the MIT License. See `LICENSE` for more information.
## Support
Give ⭐️ if you like this project!
[contributors-shield]: https://img.shields.io/github/contributors/itxSaaad/node-crash-course-task10.svg?style=for-the-badge
[contributors-url]: https://github.com/itxSaaad/node-crash-course-task10/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/itxSaaad/node-crash-course-task10.svg?style=for-the-badge
[forks-url]: https://github.com/itxSaaad/node-crash-course-task10/network/members
[stars-shield]: https://img.shields.io/github/stars/itxSaaad/node-crash-course-task10.svg?style=for-the-badge
[stars-url]: https://github.com/itxSaaad/node-crash-course-task10/stargazers
[issues-shield]: https://img.shields.io/github/issues/itxSaaad/node-crash-course-task10.svg?style=for-the-badge
[issues-url]: https://github.com/itxSaaad/node-crash-course-task10/issues
[license-shield]: https://img.shields.io/github/license/itxSaaad/node-crash-course-task10.svg?style=for-the-badge
[license-url]: https://github.com/itxSaaad/node-crash-course-task10/blob/main/LICENSE.md