minic99
v1.0.1
Published
This is a simple API server built with Node.js and Express.js. It provides CRUD (Create, Read, Update, Delete) operations for managing users.
Downloads
7
Readme
Simple API Server
This is a simple API server built with Node.js and Express.js. It provides CRUD (Create, Read, Update, Delete) operations for managing users.
Installation
- Clone this repository to your local machine.
- Install dependencies by running the following command:
Usage
To start the server, run:
The server will start listening on port 3000 by default.
API Endpoints
GET /api/users
: Get all users.POST /api/users
: Create a new user.GET /api/users/:id
: Get a specific user by ID.PUT /api/users/:id
: Update a specific user by ID.DELETE /api/users/:id
: Delete a specific user by ID.
Dependencies
- Express.js: Fast, unopinionated, minimalist web framework for Node.js.
- body-parser: Node.js body parsing middleware.
License
This project is licensed under the MIT License. See the LICENSE file for details.