An open API service indexing awesome lists of open source software.

https://github.com/samurai016/express-boilerplate

Simple boilerplate for REST API based on Express.js
https://github.com/samurai016/express-boilerplate

Last synced: 11 months ago
JSON representation

Simple boilerplate for REST API based on Express.js

Awesome Lists containing this project

README

          

# Express.js boilerplate
Simple boilerplate for REST API based on Express.js.
Below there you can get an example of README for your API.

Useful links:
* [Express.js Homepage](https://expressjs.com/)
* [Express.js API Documentation](https://expressjs.com/en/api.html)

# Usage
* Install [Node.js](https://nodejs.org/en/).
* [Clone this repo](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository#cloning-a-repository-using-the-command-line) in a folder or download and unzip it from GitHub.
* Open a cmd instance (or other bash console) in this folder.
* Install Node.js dependencies using:
``` bash
npm i
```
* Start the server using:
``` bash
npm start
```
# Endpoints

## ![GET](https://img.shields.io/static/v1?label=%20&message=GET&color=187bdf&style=flat-square) /api/endpoint

Custom endpoint accessible via GET method.