Installation
To install oxpress the easy way, run the following command in your project:
npx oxpress initThis will install all required dependencies into your project and will initialize oxpress with a basic oxpress.config.js.
Manual Installation
Install Dependencies#
To install oxpress, run the following command:
If you are using yarn:
yarn add express express-openapi-validatoryarn add @types/express typescript oxpress -DIf you are using npm:
npm install express express-openapi-validatornpm install @types/express typescript oxpress -DInitializing the project#
After installing the dependencies, run the following command:
./node_modules/.bin/oxpress init --skip-depsThis will create a default oxpress.config.js in the project root.