forms-server 0.1.2
Install from the command line:
Learn more about npm packages
$ npm install @gsa-tts/forms-server@0.1.2
Install via package.json:
"@gsa-tts/forms-server": "0.1.2"
About this version
The Forms Platform web server.
The build consists of Astro's node.js adapter's output, as well as a constructor for running the web server with user-provided configuration. The build target produces both:
pnpm build
pnpm dev
To start the provided Express server:
import { createServer } from '@gsa-tts/forms-server';
const port = process.env.PORT || 4321;
const app = createServer({
title: 'Example Form Service',
});
app.listen(port, () => {
console.log(`Server running on http://localhost:${port}`);
});
Details
- forms-server
-
GSA-TTS
- 6 months ago
- 21 dependencies
Assets
- forms-server-0.1.2.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0