andwati 95c24b9925 feat: initialize Express application with middleware and routes
- Set up Express application in src/app.ts with CORS, JSON parsing, and logging.
- Implement health check route.
- Add authentication, product, and order routes.
- Create error handling middleware for centralized error management.

feat: add authentication middleware with placeholder endpoints

- Implement /register and /login routes in src/middleware/auth.middleware.ts with 501 status responses.

feat: create error handling middleware

- Add error handling middleware in src/middleware/error.middleware.ts to manage errors and send appropriate responses.

feat: implement server startup logic

- Create server entry point in src/server.ts to connect to the database and start the Express server.

feat: add JWT utility functions for token signing and verification

- Implement JWT signing and verification functions in src/utils/jwt.ts with payload interface for user roles.
2026-01-12 23:24:43 +03:00
2026-01-12 18:39:26 +03:00
2026-01-12 18:37:59 +03:00

an order service with authentication,data persistence etc

S
Description
No description provided
Readme MIT
202 KiB
Languages
TypeScript 100%