Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 21 hours 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 (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-12T16:50:15.000Z (7 months ago)
- Last Synced: 2024-06-13T20:55:39.991Z (7 months ago)
- Topics: cjs, dotenv, ejs, fswd, nodejs
- Language: JavaScript
- Homepage:
- Size: 142 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
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
-
-
-
-