https://github.com/davidzcode/express-basic-api
Basic API with Express
https://github.com/davidzcode/express-basic-api
express javascript node
Last synced: 3 months ago
JSON representation
Basic API with Express
- Host: GitHub
- URL: https://github.com/davidzcode/express-basic-api
- Owner: davidzcode
- Created: 2024-02-17T03:05:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-17T03:17:02.000Z (over 1 year ago)
- Last Synced: 2024-02-17T04:21:20.889Z (over 1 year ago)
- Topics: express, javascript, node
- Language: JavaScript
- Homepage: https://dev.to/davidzcode/how-to-create-an-api-rest-with-express-c2p
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Basic API with Express
This repository contains a basic API developed using Express.js.
- Node.js installed on your system.
- npm (Node.js package manager) installed on your system.## Installation
1. Clone this repository to your local machine using `git clone`.
2. Navigate to the cloned repository directory.
3. Run `npm install` to install the dependencies.## Usage
1. Run `node index.js` to start the server.
2. The API will be available at `http://localhost:3000`.
3. You can use tools like Postman or cURL to make requests to the API.## Endpoints
- **GET /**: Get `Hello World` message.
## LicenseThis project is licensed under the [MIT License](LICENSE).