Skip to content

openmfp/create-portal

@openmfp/create-portal

A CLI tool for scaffolding OpenMFP Portal projects with a full-stack setup.

Overview

create-portal is a project generator that creates a complete OpenMFP Portal application with:

  • Frontend: Angular application with OpenMFP Portal UI library
  • Backend: NestJS server with OpenMFP Portal server library
  • Pre-configured build and development scripts
  • Modern development environment setup

Prerequisites

  • Node.js >= 24.0.0
  • npm >= 11.0.0

Installation

Using npx

npx @openmfp/create-portal

Custom Project Name

Create a portal with a specific name:

npx @openmfp/create-portal my-awesome-portal

The script will:

  1. Create the project directory
  2. Generate all necessary configuration files
  3. Set up frontend and backend structures
  4. Install all dependencies automatically
  5. Display the complete project structure

Troubleshooting

Directory Already Exists

If the target directory already exists, the script will exit with an error. Choose a different project name or remove the existing directory.

Dependency Installation Fails

If automatic installation fails, you can manually install dependencies:

cd my-portal
npm install
cd frontend && npm install
cd ../backend && npm install

Repository

Contributing

Please refer to the CONTRIBUTING file in this repository for instructions on how to contribute to openMFP.

Code of Conduct

Please refer to the CODE_OF_CONDUCT.md of NeoNephos for information on the expected Code of Conduct for contributing to openMFP.

Licensing

Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.

Support

For questions and support, please open an issue on the GitHub repository.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5