Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/epoch/old-template
https://github.com/epoch/old-template
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/epoch/old-template
- Owner: epoch
- Created: 2019-12-08T12:44:30.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T16:25:08.000Z (about 2 years ago)
- Last Synced: 2024-11-02T13:42:09.835Z (3 months ago)
- Language: JavaScript
- Size: 563 KB
- Stars: 0
- Watchers: 2
- 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. |