https://github.com/epoch/old-template
https://github.com/epoch/old-template
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/epoch/old-template
- Owner: epoch
- Created: 2019-12-08T12:44:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T16:25:08.000Z (over 3 years ago)
- Last Synced: 2025-07-27T10:36:37.294Z (11 months ago)
- Language: JavaScript
- Size: 563 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
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. |