https://github.com/manjillama/node-ejs-boilerplate
A complete Node ESJ boilerplate setup with jest, webpack, sass, eslint, prettier, pre-configured.
https://github.com/manjillama/node-ejs-boilerplate
ejs eslint express jest node prettier sass webpack
Last synced: 3 months ago
JSON representation
A complete Node ESJ boilerplate setup with jest, webpack, sass, eslint, prettier, pre-configured.
- Host: GitHub
- URL: https://github.com/manjillama/node-ejs-boilerplate
- Owner: manjillama
- Created: 2020-07-23T08:04:09.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-29T19:10:25.000Z (almost 6 years ago)
- Last Synced: 2025-01-22T01:28:52.642Z (over 1 year ago)
- Topics: ejs, eslint, express, jest, node, prettier, sass, webpack
- Language: HTML
- Homepage:
- Size: 119 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Node EJS complete boilerplate
A complete Node ESJ boilerplate setup with jest, webpack, sass, eslint, prettier, pre-configured.
[](https://github.com/manjillama/node-ejs-boilerplate/actions)
[](https://github.com/airbnb/javascript)
## Available Scripts
In the project directory, you can run:
### `yarn dev`
Runs the app in the development mode.
Open [http://localhost:8080](http://localhost:8080) to view it in the browser.
Client side JavaScript goes into **client** folder with **index.js** being the entry point. Webpack will watch the index.js file and will trigger hot module replacement whenever user changes the file while the application is still running.
### `yarn start`
Runs the app in the production mode.
Open [http://localhost:8080](http://localhost:3000) to view it in the browser.
### `yarn test`
Launches the test runner.
### `yarn build:client`
Builds the client-side JavaScipt for production to the `src/static/dist` folder. The folder will be created is not already exist
It correctly bundles client-side JavaScript in production mode and optimizes the build for the best performance.
The build is minified and your app is ready to be deployed!