andwati
e068281725
update deps
2026-03-29 23:49:19 +03:00
andwati
57fa3e8a94
update
2026-02-28 17:56:35 +03:00
andwati
2b07083d62
fix build error
2026-01-15 12:51:20 +03:00
andwati and GitHub
86b9ef8dec
Merge pull request #5 from andwati/dev
...
added testing
2026-01-15 12:44:31 +03:00
andwati
aa38999ff4
added testing
2026-01-14 13:29:40 +03:00
andwati and GitHub
fc42bff882
Update README.md
2026-01-14 13:10:56 +03:00
andwati and GitHub
dd92d8eaae
Merge pull request #4 from andwati/dev
...
Dev
2026-01-14 13:03:50 +03:00
andwati and GitHub
e8618b7c98
Merge pull request #3 from andwati/main
...
dev
2026-01-14 13:02:38 +03:00
andwati
e52ab793c5
Updated README.md to enhance formatting and structure, changing section headers from '###' to '##' for better clarity and consistency. Added Swagger documentation link for browser testing.
2026-01-14 13:00:26 +03:00
andwati and GitHub
9028465bcc
Merge pull request #2 from andwati/dev
...
added readme
2026-01-14 12:44:49 +03:00
andwati
ef5703a5ed
added readme
2026-01-14 12:44:07 +03:00
andwati and GitHub
1d68dc0c0a
Merge pull request #1 from andwati/dev
...
Dev
2026-01-14 11:28:50 +03:00
andwati
ba21363eae
fixed 403 errror on order creation
2026-01-13 19:21:20 +03:00
andwati
b74197f60f
logging with morgan setup
2026-01-13 18:39:10 +03:00
andwati
8e385887de
added get users admin only endpoint
2026-01-13 18:29:46 +03:00
andwati
d2334181a0
added role to register
2026-01-13 17:56:43 +03:00
andwati
5b08104492
yolo
2026-01-13 17:31:36 +03:00
andwati
71b2987a34
deploy on render
2026-01-13 17:27:07 +03:00
andwati
bd235f4100
to the moon
2026-01-13 16:17:22 +03:00
andwati
349aebcf1e
remove docker
2026-01-13 15:35:39 +03:00
andwati
5fa0229aab
remove docker switching to atlas
2026-01-13 15:35:05 +03:00
andwati
785cfc71f5
swagger ui
2026-01-13 02:47:50 +03:00
andwati
ef452e27fd
swagger
2026-01-13 02:23:46 +03:00
andwati
6068848375
feat: update docker-compose for MongoDB initialization and simplify order/user repository save methods
2026-01-13 01:58:58 +03:00
andwati
f13a83c992
feat: update order and user repositories to use instance methods for creation and improve session handling; enhance order service with transaction management for payment and cancellation
2026-01-13 00:52:29 +03:00
andwati
f8aebd53df
feat: add validation for product ID in update method and implement placeholder methods in order service
2026-01-13 00:38:47 +03:00
andwati
0a3e5cfa95
feat: update default value for _id fields to use a function for uuid generation
2026-01-13 00:32:11 +03:00
andwati
2efdc8910f
feat: refactor repositories and services to use type imports and improve structure
2026-01-13 00:28:49 +03:00
andwati
64e304214b
feat: add bcrypt for password hashing and implement logger utility
2026-01-13 00:18:44 +03:00
andwati
ae6521977d
feat: implement authentication and product management services with validation schemas
2026-01-13 00:04:13 +03:00
andwati
da428f83bc
feat: implement order and product models, services, and routes with validation
2026-01-13 00:03:48 +03:00
andwati
8f2477b25e
feat: add rate limiting middleware and role-based access control
2026-01-12 23:39:05 +03:00
andwati
85153e8c02
feat: implement authentication middleware and extend Express Request type
2026-01-12 23:36:37 +03:00
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
andwati
9e65d2f2d5
feat: add Dockerfile and docker-compose configuration for application setup
2026-01-12 22:41:44 +03:00
andwati
5b85cee125
feat: implement MongoDB connection logic
2026-01-12 22:17:22 +03:00
andwati
a3496a7f41
feat: add environment configuration and required variables
2026-01-12 19:45:02 +03:00
andwati
0ca8f238a2
feat: add initial files for Docker, controllers, models, repositories, routes, services, utils, validation, and tests
2026-01-12 19:25:43 +03:00
andwati
a74bc1b3b7
feat: add initial application and server files, include dotenv and mongodb dependencies
2026-01-12 19:22:30 +03:00
andwati
9ced4b518b
feat: add TypeScript configuration and initial config file
...
- Created a new TypeScript configuration file (tsconfig.json) with recommended settings for a Node.js environment.
- Added an initial configuration file (config.ts) to the src/config directory.
2026-01-12 19:06:49 +03:00
andwati and GitHub
6e135d5e0a
Add MIT License to the project
2026-01-12 18:39:26 +03:00
andwati and GitHub
083b3c9c30
Create README.md
2026-01-12 18:37:59 +03:00
andwati
2755e38ceb
initial commit
2026-01-12 18:28:55 +03:00