Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/epoch/old-template


https://github.com/epoch/old-template

Last synced: 29 days ago
JSON representation

Awesome Lists containing this project

README

        

# Express Postgres API Boilerplate

A mini template for starting projects with `express.js` and `postgres` as an API.

## Installation

1. git clone and rename from express-postgres-api-template to your-app-name.
1. Empty [`README.md`](README.md) and fill with your own content.
1. Install dependencies with `npm install`.
1. Ensure that you have `nodemon` installed by running `npm install -g nodemon`.
1. Ensure the API is functioning properly by running `npm run server`.

## npm tasks

| Command | Effect |
|------------------------|-------------------------------------------------------------------------------------------------------------|
| `npm run server` | Starts a development server with `nodemon` that automatically refreshes when you change something. |
| `npm run debug-server` | Starts the server in debug mode, which will print lots of extra info about what's happening inside the app. |