https://github.com/zachsa/nodejs-basic-setup
Node.js project setup with nodemon, prettier, eslint, and start scripts
https://github.com/zachsa/nodejs-basic-setup
Last synced: 2 months ago
JSON representation
Node.js project setup with nodemon, prettier, eslint, and start scripts
- Host: GitHub
- URL: https://github.com/zachsa/nodejs-basic-setup
- Owner: zachsa
- License: mit
- Created: 2020-03-08T12:34:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T09:25:10.000Z (over 3 years ago)
- Last Synced: 2025-01-19T17:09:05.098Z (over 1 year ago)
- Language: JavaScript
- Size: 453 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nodejs Basic Setup
I'm getting tired of setting up Babel, ESLint, Prettier, and associated NPM scripts every time I want to try out some Node.js code (using ESM the babel way!). This repository is just a nice starter
# Install
```npm install```
# Start development server
```npm start```
# Start production server
```npm start:prod```
# Automated deployment
1. Add a self-hosted action runner to your server
2. `.github/workflows/master-branch.yml` should run on commits to master
3. This repository is setup to deploy 2 containers - a PostGIS database and Node app via docker-compose