Skip to content

forms-server 1.0.0-beta.5

Install from the command line:
Learn more about npm packages
$ npm install @gsa-tts/forms-server@1.0.0-beta.5
Install via package.json:
"@gsa-tts/forms-server": "1.0.0-beta.5"

About this version

@gsa-tts/forms-server

The Forms Platform web server.

Build

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

Development

pnpm dev

Usage example

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


Assets

  • forms-server-1.0.0-beta.5.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0