Cooper Pantry
Cooper Pantry is an open source pantry inventory management and community outreach platform.
Getting Started
- Clone Repository
- Run
npm installto install dependencies - Create a
.envfile based upon.env.examplein the project root
Run UI
Run npm run start:pantry to run Cooper Pantry with on a local dev server. Navigate to http://localhost:4200. The app will automatically reload if you change any of the source files.
Run API
Run npm run start:dev to start the NestJS server. Navigate to http://localhost:333/api to view swagger documentation.
Build
Run ng run build:prod to build the UI and API. The build artifacts will be stored in the dist/ directory.
Running unit tests
Run npm run test to execute the unit tests via Jest.
Run nx affected:test to execute the unit tests affected by a change.