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

Backend - News model #145

Open
minhngo3818 opened this issue Apr 13, 2023 · 4 comments
Open

Backend - News model #145

minhngo3818 opened this issue Apr 13, 2023 · 4 comments
Assignees
Labels
Backend task relates to backend Data Model data model tasks Good First Issue Easy tasks for first timers

Comments

@minhngo3818
Copy link
Collaborator

Create a Mongoose data model for news

Collection name: news
Schema object name: newsSchema

Directory: root/backend/models/news/*, add news-model.js file

For reference, see tags-model.js

Fields:

  • title: string
  • detail: string
  • created_at: Date, immutable, use the current time as the default value
  • updated_at: Date, use the current time as the default value
@minhngo3818 minhngo3818 added Backend task relates to backend Data Model data model tasks Good First Issue Easy tasks for first timers labels Apr 13, 2023
@goutham03062001
Copy link

Is this issue still opened?

I would like to work upon this project.

@minhngo3818
Copy link
Collaborator Author

Sure

@goutham03062001
Copy link

Hello, to work on this project do we need to know about docker?

I'm unaware of docker? Please let me know

@minhngo3818
Copy link
Collaborator Author

You don't have to. It is for setup and deployment. It's the tool that helps run the entire project environment in one go. But, you should set up the project by using npm. We're currently having an issue running the project with Docker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend task relates to backend Data Model data model tasks Good First Issue Easy tasks for first timers
Projects
None yet
Development

No branches or pull requests

2 participants