Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CaCaoCritics
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bilel El Yaagoubi
CaCaoCritics
Merge requests
!5
Draft: Front bilel
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Open
Draft: Front bilel
front-bilel
into
master
Overview
0
Commits
8
Pipelines
7
Changes
5
Open
Draft: Front bilel
Bilel El Yaagoubi
requested to merge
front-bilel
into
master
Jun 5, 2022
Overview
0
Commits
8
Pipelines
7
Changes
5
0
0
Merge request reports
Compare
master
version 6
0704cf05
Jun 7, 2022
version 5
32ec91a2
Jun 7, 2022
version 4
d4376e8a
Jun 7, 2022
version 3
01d117cd
Jun 7, 2022
version 2
c1e556d0
Jun 5, 2022
version 1
8a53592e
Jun 5, 2022
master (base)
and
version 3
latest version
a0caa3af
8 commits,
Jun 8, 2022
version 6
0704cf05
7 commits,
Jun 7, 2022
version 5
32ec91a2
6 commits,
Jun 7, 2022
version 4
d4376e8a
5 commits,
Jun 7, 2022
version 3
01d117cd
4 commits,
Jun 7, 2022
version 2
c1e556d0
3 commits,
Jun 5, 2022
version 1
8a53592e
2 commits,
Jun 5, 2022
5 files
+
161
−
68
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
backend/models/movies.js
0 → 100644
+
12
−
0
View file @ 01d117cd
Edit in single-file editor
Open in Web IDE
const
mongoose
=
require
(
"
mongoose
"
);
const
MovieSchema
=
new
mongoose
.
Schema
({
publisher
:
{
type
:
String
,
required
:
true
},
title
:
{
type
:
String
,
required
:
true
,
unique
:
true
},
date
:
{
type
:
String
},
imageURL
:
{
type
:
String
},
});
const
MovieModel
=
mongoose
.
model
(
"
MovieModel
"
,
MovieSchema
,
"
movies
"
);
module
.
exports
=
MovieModel
;
Loading