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

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

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