Read this in other languages: English.
- Short description
- Long description
- Project roadmap
- Getting started
- Projects using Template
- Useful Commands
- Built with
- Contributing
- Versioning
- Authors
- License
- Acknowledgments
Base Template for any Node.js Application.
It can take minutes, to sometimes hours to setup the Base Project, get your Process Manager Setup, Figure out your Docker Support, get your Development Tools setup, maybe even setup your Readme with all the commands you need and copy/paste them into the terminal.
It has a simple, base structure to build off of for any Node.js Application Development. It comes with a complete Makefile with docker-compose and docker support along with pm2 deployment support.
I got sick and tired of setting up Node.js Micro Service projects, and after doing it 1000 times I just said.. Template time, and here we are.
- Docker Installed
- If you are a Windows User please Install Windows SubSystem Linux (Ubuntu)
-
- Make sure you have
makeinstalled. and WSL2 along with patch kernal & Docker-edge
- Make sure you have
- Install Node.js
-
- Install PM2 Globally
- Rename the
example.envfile to.envand fill in the Information requested as well as put your Variables there.
Just Git Pull the Repo, or download a Zip of it.
Currently working on utilizing this in a few Projects will List them here, once they are ready.
- make npm
-
- Installs Project Deps utilizing NPM
- make yarn
-
- Installs Project Deps utilizing Yarn
- make start
-
- Starts Project Locally with what the NODE_ENV has set. production, staging, or development
- make stop
-
- Stops the Project Locally
- make build
-
- Builds the Project into a docker container.
- make up
-
- Brings the Docker Container up for Testing utilizing Docker Compose
- make logs
-
- Allows you to see all the Logs for a Current Project
- make down
-
- Brings the Docker Container down
- make console
-
- Opens a console into the Container for the Project
- make pm2deploy
-
- Deploy's the Project too whatever server it is set too, with settings based on NODE_ENV
- make pm2setup
-
- This will Setup the Server the Project is being Deployed too.
- make pm2update
-
- Update a Project on the Deployment Servers.
- Node.js - Base of the Project
- Docker - Easy Local Testing
- PM2 - Fastest way to keep a process for testing
- GIT - Doing the Storage and Updating WOOT
- Make - I couldn't live without you, I want you too know <3
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Randolph
Bioblaze PayneAarseth - Initial work - Bioblaze
See also the list of contributors who participated in this project.
This project is licensed under the Apache 2 License - see the LICENSE file for details
- Based on Billie Thompson's README template.
- Built off of Code and Response Sample Project.