https://github.com/alexandrelamberty/nodejs-cjs-ejs-server
:fire: Node.js with CJS / EJS demo for my Full Stack Web Developer training @ https://technofuturtic.be. :zany_face:
https://github.com/alexandrelamberty/nodejs-cjs-ejs-server
cjs dotenv ejs fswd nodejs
Last synced: 9 months ago
JSON representation
:fire: Node.js with CJS / EJS demo for my Full Stack Web Developer training @ https://technofuturtic.be. :zany_face:
- Host: GitHub
- URL: https://github.com/alexandrelamberty/nodejs-cjs-ejs-server
- Owner: alexandrelamberty
- Created: 2023-02-14T18:22:11.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-06-24T05:19:39.000Z (almost 2 years ago)
- Last Synced: 2024-12-27T19:48:00.642Z (over 1 year ago)
- Topics: cjs, dotenv, ejs, fswd, nodejs
- Language: JavaScript
- Homepage:
- Size: 150 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nodejs commonjs ejs server
Pure Node.js with EJS template engine :zany_face:
The application require an `.env` environment file with theses variables:
```properties
PORT=3000
HOST=localhost
```
Start the application
```shell
npm run start
```
Start with the environment variables set up and without the need of dotenv in the dependencies
```shell
npm run start:env
```
Start the application in dev, watch mode
```shell
npm run start:dev
```
# References
-
-
-
-