Open dhruv-1001 opened 2 months ago
@ChakshuGautam, for documenting APIs, I'm going ahead with swagger docs.
@dhruv-1001 @ChakshuGautam I would Like to work on this issue. Should I create Next App in the root folder to start with ? So that everybody can help in migrating the codebase.
Hey, I'd like to work on this. I've gone through the project and suggest the following approach:
Folder structure of Nest app:
- src
- app
- models
- city
- city.controller.ts
- city.module.ts
- city.serializer.ts
- city.controller.spec.ts
- georev
- georev.controller.ts
- georev.module.ts
- georev.serializer.ts
- georev.controller.spec.ts
- location
- location.controller.ts
- location.module.ts
- location.serializer.ts
- location.controller.spec.ts
- location.service.ts
- location.service.spec.ts
- config
- config.json
- swagger.config.json
- geojson-data
- services
- geojson
- geojson.service.ts
- logger
- logger.service.ts
- util
- common
- gdb_to_geojson
- parse.geojson
- serializer
- success
- error
Justification
Stencil-cli will be used to setup the project. Finalized structure might slightly defer from the proposed structure.
Logger
Swagger
Scripts
Please let me know what changes are required here, I will create a tech doc post review.
Hey @Abhinav-Saxena-dev. This looks great! This seems to cover everything that we have now. You can go ahead!
@dhruv-1001 Hey, I've completed the code migration and have raised a Draft PR. I have added relevant information in the description for now and maintaining a check list of tasks there.
Please review it once and let me know whatever changes / new updates that might be required there.
Update:
To be left / Completed by EOD
A merge conflict has occurred, attempting to public the draft PR by EOD.
Hey, @Abhinav-Saxena-dev. Will try to review your PR this weekend.
@dhruv-1001 what's the update on this?
@dhruv-1001 I would like to request a review of the PR. The merge conflict arose due to the db.md, which I had updated but the prompt remains. Apart from that, the PR is ready.
Please let me know any changes that you would require.
Migrate Project from Vanilla JS to NestJS
Overview
This issue is created to track the migration of the project from its current JS architecture to NestJS.
Current Situation
The project is currently built using vanilla JavaScript and needs to be migrated to NestJS to leverage its benefits, including a modular and scalable architecture, dependency injection, and enhanced maintainability.
Goals
Steps
Setup
Code Migration
Middleware Integration
Testing
Documentation
Collaborators