Skip to content

notyoursreejon/node.js-simple-rest-api-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Simple REST API using Node.js and Express

Objective

Build a basic REST API to understand routing, HTTP methods, middleware, and error handling.

Features

  • GET / → Welcome message
  • GET /users → Returns users list
  • POST /users → Add new user
  • Middleware for JSON parsing and logging
  • 404 error handling

Technologies Used

  • Node.js
  • Express.js

How to Run

  1. Install dependencies: npm install

  2. Run server: node server.js

  3. Open browser: http://localhost:3000

About

Simple REST API built using Node.js and Express for academic assignment. Includes routing, middleware, and error handling.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors