Skip to content

a basic express.js server application with various features. The application handle different HTTP requests and actions.

Notifications You must be signed in to change notification settings

Ifamunas/express.js-simple-server

Repository files navigation

Node Server

This repository contains a basic Node.js server application with various features. The server application allows you to handle different HTTP requests and perform specific actions.

Level 1: Node Server Basic Requirements

In this level, the server application includes the following features:

  1. Set up a server that listens on a specified port (e.g., port 8080).
  2. Create a route to handle GET requests to the root URL ("/") and send a "Hello, World!" response.
  3. Implement a route to handle POST requests to the root URL ("/") and log the received data to the console.

Level 2: Node Server Additional Requirements

In addition to the basic requirements, the server application enhances its functionality with the following features:

  1. Create a route to handle GET requests to "/books or /products" and send a response with information accordingly.
  2. Implement a route to handle POST requests to "/books or /products" and save the received data to a file on the server.

Level 3: Node Server Bonus Requirements (Optional)

If you have a higher skill level and finish the previous requirements before the deadline, you can tackle the following bonus tasks: Peer Review:

  • Review the code and implementation of 2 assignments from other participants.
  • Provide constructive feedback and suggestions for improvement.

Please note that the bonus requirements and reviews are optional and can be completed if you have additional time and advanced skills.

Happy coding!

About

a basic express.js server application with various features. The application handle different HTTP requests and actions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published