Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed #20 #33

Merged
merged 2 commits into from
Jul 29, 2024
Merged

Fixed #20 #33

merged 2 commits into from
Jul 29, 2024

Conversation

Shpendiiiii
Copy link
Contributor

@Shpendiiiii Shpendiiiii commented Jul 24, 2024

Dear Reviewer,

Please provide your .env file with the database url of your postgre instance.

Then:

  • prisma db push to apply migrations to the db
  • yarn prisma:seed to insert the test data to the db
  • nest start like to start the like app, since it is the default one, simply running nest start will work as well.

Please go to /docs to access the swagger ui.

Best,

Shpendi

@dadiorchen dadiorchen requested review from GuningShen and Mohmn July 25, 2024 09:45
@Mohmn
Copy link
Member

Mohmn commented Jul 25, 2024

i havent run these changes on local but they look good to me, once i resolve the baseline migation issue on my local
i will throughly review it once again , but for now changes look good to me @Shpendiiiii @dadiorchen @GuningShen

Comment on lines +1 to +12
import {
Body,
Controller,
Get,
Post,
Put,
ValidationPipe,
HttpStatus,
Param,
Req,
Res,
} from '@nestjs/common';
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we should add this: #34


async function bootstrap() {
const app = await NestFactory.create(AppModule);
const port = process.env.PORT || 3006;
if (process.env.NODE_ENV !== 'production') {
setupSwagger(app);
Copy link
Contributor

Choose a reason for hiding this comment

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

Very useful for development and coorditation between devs, thank you!

Copy link
Collaborator

Choose a reason for hiding this comment

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

This file is irrelavant (remove in the future)

Copy link
Collaborator

@GuningShen GuningShen left a comment

Choose a reason for hiding this comment

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

All changes look good to me! Thanks for your contribution. You could remove irrelevant DTO files in the future.

@Mohmn Mohmn merged commit d5c478b into Greenstand:main Jul 29, 2024
Copy link

🎉 This issue has been resolved in version 1.3.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants