# express-es6-rest-api

> Starter project for an ES6 RESTful Express API

Latest version **0.2.2** (published 2015-11-06) · Proprietary license · 0 weekly downloads

## Install

```sh
npm install express-es6-rest-api
pnpm add express-es6-rest-api
yarn add express-es6-rest-api
bun add express-es6-rest-api
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2015-11-06 |
| First published | 2015-08-06 |
| Weekly downloads | 0 |
| License | Proprietary |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2436 |
| Author | Jason Miller |
| Maintainers | developit |

## Links

- npm: https://www.npmjs.com/package/express-es6-rest-api
- Repository: https://github.com/developit/express-es6-rest-api
- Homepage: https://github.com/developit/express-es6-rest-api#readme
- Issues: https://github.com/developit/express-es6-rest-api/issues
- npm.io page: https://npm.io/package/express-es6-rest-api

## Dependencies (6)

- [cors](https://npm.io/package/cors.md) ^2.7.1
- [babel](https://npm.io/package/babel.md) ^5.8.21
- [express](https://npm.io/package/express.md) ^4.13.3
- [body-parser](https://npm.io/package/body-parser.md) ^1.13.3
- [compression](https://npm.io/package/compression.md) ^1.5.2
- [resource-router-middleware](https://npm.io/package/resource-router-middleware.md) ^0.5.1

## Recent versions

- 0.2.2 (latest) — 2015-11-06
- 1.0.0-alpha2 — 2015-11-06
- 0.2.1 — 2015-11-06
- 1.0.0-alpha1 — 2015-11-06
- 0.2.0 — 2015-08-06

## README

Express & ES6 REST API Boilerplate
==================================

[![bitHound Score](https://www.bithound.io/github/developit/express-es6-rest-api/badges/score.svg)](https://www.bithound.io/github/developit/express-es6-rest-api)

This is a straightforward boilerplate for building REST APIs with ES6 and Express.

- ES6 support via [babel](https://babeljs.io)
- REST resources as middleware via [resource-router-middleware](https://github.com/developit/resource-router-middleware)
- CORS support via [cors](https://github.com/troygoode/node-cors)
- Body Parsing via [body-parser](https://github.com/expressjs/body-parser)

> Tip: If you are using [Mongoose](https://github.com/Automattic/mongoose), you can automatically expose your Models as REST resources using [mongoose-resource](https://gist.github.com/developit/ec2f438efc5feea4fd3a).

Getting Started
---------------

```sh
# clone it
git clone git@github.com:developit/express-es6-rest-api.git
cd express-es6-rest-api

# Make it your own
rm -rf .git && git init && npm init

# Run it
PORT=8080 npm start

# With nodemon:
PORT=8080 nodemon
```


License
-------

MIT

---
_Source: https://npm.io/package/express-es6-rest-api · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
