Skip to content

Minimalist RESTful API Boilerplate and build process to quickly get projects going.

License

Notifications You must be signed in to change notification settings

bymathias/rest-api-boilerplate

Repository files navigation

Github Release

RESTful API Boilerplate and build process to quickly get projects going.

Features

Development tools:

Frameworks/Libraries included:

Installation

Clone the repository or download the latest stable release

git clone https://github.com/bymathias/rest-api-boilerplate.git api

Make it your own

cd api
rm -rf .git && git init && npm init

Then install dependencies

npm install

Usage

Development:

Watch/run the Express server for development

npm run dev

Run unit tests (Jest)

npm run test:watch
# OR
npm test

Production:

Build for production,

npm run build -- --mode=production

or edit the variable APP_BUILD_MODE in the .env file.

Run the Express server

npm start

Change Log

All notable changes to this project will be documented in the CHANGELOG.

Contributing

All types of contributions are most welcome.

License

The code is available under the MIT LICENSE.