Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

feat: Nmp 22 init express api #45

Merged
merged 10 commits into from
May 10, 2024
Merged

feat: Nmp 22 init express api #45

merged 10 commits into from
May 10, 2024

Conversation

GDamaso
Copy link
Contributor

@GDamaso GDamaso commented May 10, 2024

Express API Initialized

Added some base middleware in advance and tried to create some initial structure, following the "openshift-quickstart" pipeline.

Sorry for the long PR.
Don't hold back on comments, I appreciate them and will help a lot.

Cheers!


Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are deployed in:

@GDamaso GDamaso linked an issue May 10, 2024 that may be closed by this pull request
5 tasks
Copy link
Contributor

@LocalNewsTV LocalNewsTV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kicking off the API is a lot of manual work. I left feedback, comments, suggestions and a some praise.

I didn't comment this for the frontend stuff because its boiler plate, but start documenting your code! Look into JSDoc headers, and comment your functions, routers, tops of your files :) It's easier to start now than it is to try and catch up in 4 weeks

The code formatting is good, and the names are descriptive. This is a good start for your project!

I'd recommend using hyphens instead of periods for your filename schema though. I don't think I've ever encountered periods as a convention before.

Sorry for the long PR.

This is not even close to being a long PR! This is a perfectly fine size, especially for the work that went in!

backend/src/server.ts Outdated Show resolved Hide resolved
backend/src/server.ts Outdated Show resolved Hide resolved
backend/src/express.ts Outdated Show resolved Hide resolved
backend/src/express.ts Outdated Show resolved Hide resolved
backend/src/controllers/health.api.controller.ts Outdated Show resolved Hide resolved
backend/src/routes/api.router.ts Outdated Show resolved Hide resolved
backend/tsconfig.json Show resolved Hide resolved
backend/src/express.ts Outdated Show resolved Hide resolved
backend/src/express.ts Outdated Show resolved Hide resolved
…ed with DotEnv; Added a simple .env.template; Halfway of commenting existing code;
backend/src/server.ts Outdated Show resolved Hide resolved
@GDamaso GDamaso merged commit f6b4544 into main May 10, 2024
8 checks passed
@GDamaso GDamaso deleted the NMP-22-init-express-api branch May 10, 2024 19:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Init Express API
2 participants