Playing with express to deliver a basic CMS that returns blog posts
Inspired by Clean Architecture
Guarantee you have installed both Docker and Docker Composer and run:
docker compose up
The Swagger UI is at http://localhost:3000/api-docs
Run the server in development mode.
Run all tests - considering that express-zod-api does not offer any inversion of control regarding the Express App, for practical purposes we bounded the Supertest to http://localhost:3000 - in this case, you need to run the container with docker compose up or the application locally with npm run dev prior running the tests for now.
Run a single test.
Check for linting errors.
Generates OpenAPI documentation. Executes automatically when executing npm run dev.
Run the production build