title | description | tags | |||||
---|---|---|---|---|---|---|---|
ExpressJs server |
A simple ExpressJS server |
|
This example starts an Express JS server.
- Install dependencies
npm install
- Start the development server
npm run dev
The server started returns a plaintext message for the /
route and a json message for the /json
route.
The server code is located in index.js
.