3.2.6 • Published 11 months ago
@misterzik/espressojs v3.2.6
EspressoJS / Espresso
Introducing Espresso.JS, your ultimate Express configuration starting point and boilerplate. With its simplicity and lack of opinionation, EspressoJS offers plug-and-play configurations built on top of Express.
Whether you're a beginner or an experienced developer, EspressoJS will have you up and running with an Express instance in a matter of seconds. Say goodbye to tedious setup and hello to streamlined development with EspressoJS.
Getting Started
Download latest release
npm install --save @misterzik/espressojs
Create
config.json
to handle the instances{ "instance": "development", "port": 8080, "hostname": "", "mongoDB": { "enabled": false, "uri": "", "instance": "database" }, "api": { "enabled": false, "uri": "https://swapi.dev/api/people/", "url": "", "method": "GET", "headers": { "Content-Type": "application/json" } } }
Create
.env
if you don't want to use config. A mix is possible.MONGO_USER=USER MONGO_TOKEN=PASSWORD API_TOKEN=APITOKEN
Create
espresso.js
and add the following requirements to call the packages.require("@misterzik/espressojs");
Create
cli.js
and add the following requirements to call the packages.require('@misterzik/espressojs/cli');
And you are all set to start, To run the instance, use:
node cli run
Structured Files
Pre-made Configurations:
server/config/config.global.js
server/config/config.production.js
server/config/config.development.js
Commands
- Stop server by pressing
CTRL + C
to terminated the Espresso process.
Requirements
Installed prior using Espresso.JS
- NodeJS
- NPM
3.2.6
11 months ago
3.2.5
11 months ago
3.2.4
11 months ago
3.2.2
11 months ago
3.2.1
11 months ago
3.2.0
11 months ago
3.1.18
11 months ago
3.2.3
11 months ago
3.1.17
11 months ago
3.1.20
11 months ago
3.1.19
11 months ago
3.1.16
1 year ago
3.1.12
2 years ago
3.1.11
2 years ago
3.1.14
2 years ago
3.1.13
2 years ago
3.1.15
2 years ago
3.1.10
2 years ago
3.1.7
2 years ago
3.1.9
2 years ago
3.1.8
2 years ago
3.1.0
4 years ago