Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wisdomfusion/node-express-bootstrap-boilerplate
Node.js/Express.js MVC skeleton project, front end assets built with webpack 5, Bootstrap and jQuery.
https://github.com/wisdomfusion/node-express-bootstrap-boilerplate
bootstrap express jquery node webpack
Last synced: 12 days ago
JSON representation
Node.js/Express.js MVC skeleton project, front end assets built with webpack 5, Bootstrap and jQuery.
- Host: GitHub
- URL: https://github.com/wisdomfusion/node-express-bootstrap-boilerplate
- Owner: wisdomfusion
- License: mit
- Created: 2021-12-14T10:26:27.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-13T02:24:23.000Z (almost 2 years ago)
- Last Synced: 2024-11-08T03:41:15.599Z (2 months ago)
- Topics: bootstrap, express, jquery, node, webpack
- Language: JavaScript
- Homepage:
- Size: 1.48 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-express-bootstrap-boilerplate
Node.js/Express.js MVC skeleton project, front end assets built with webpack 5, Bootstrap 4 and jQuery.
## Installation
## Bootstrap version
Checkout to git branch `bs5` if you intend to use Bootstrap 5 in `app_assets` project.
### app_server
**Prepare dotenv file**
Copy `.env.example` to new `.env` file.
**Serving the application in development environment**
```sh
npm i
npm i -g nodemon
nodemon ./bin/www
```**Debugging the application**
Windows CMD
```
set DEBUG='*' && nodemon .\bin\www
```Windows PowerShell
```sh
$env:DEBUG='*'; nodemon .\bin\www
```macOS / Linux
```sh
DEBUG='*'; nodemon .\bin\www
```**Serving the application in production environment**
```sh
npm i -g pm2
pm2 start ./bin/www
```### app_assets
Watching while developing
```
cd app_assets/
npm i
npm run watch
```Building for development
```
npm run dev
```Building for staging
```
cd app_assets/
npm i
npm run stage
```Building for production
```
cd app_assets/
npm i
npm run prod
```## Dockerization