1.0.1 • Published 1 year ago

minic99 v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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

  1. Clone this repository to your local machine.
  2. 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.