0.0.2 • Published 4 years ago
@nx-gems/express-app v0.0.2
express-app
Generator for Express applications and APIs. This library was generated with Nx.
Getting started
Install this plugin in your existing nx repo.
npm install --save-dev @nx-gems/express-appRun the plugin to generate an api
nx g @nx-gems/express-app:express-app test-apiThis will create an express app at /apps/test-api with a example route of /accounts.
Execute the following command to run the express app:
nx serve test-apiNow point your browser to http://localhost:33333/accounts to test the example route.
Running unit tests
Run nx test express-app to execute the unit tests via Jest.