Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nemeslaszlo/movie_rental_web_men
"Port" / "Refactor" a previous java desktop project to a web project using MEN stack as backend (MongoDB, Express, Node), which gives us a opportunity to manage our movies, organize them by directors and/or movies etc.
https://github.com/nemeslaszlo/movie_rental_web_men
ejs express express-ejs-layouts filepond mongodb mongoose node nodejs
Last synced: 13 days ago
JSON representation
"Port" / "Refactor" a previous java desktop project to a web project using MEN stack as backend (MongoDB, Express, Node), which gives us a opportunity to manage our movies, organize them by directors and/or movies etc.
- Host: GitHub
- URL: https://github.com/nemeslaszlo/movie_rental_web_men
- Owner: NemesLaszlo
- Created: 2020-09-05T09:01:51.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-12T17:52:24.000Z (over 3 years ago)
- Last Synced: 2024-12-01T06:43:46.925Z (2 months ago)
- Topics: ejs, express, express-ejs-layouts, filepond, mongodb, mongoose, node, nodejs
- Language: JavaScript
- Homepage:
- Size: 48.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Movie_Rental_Web_MEN
"Port" / "Refactor" a previous java desktop project to a web project using MEN stack as backend (MongoDB, Express, Node), which gives us a opportunity to manage our movies, organize them by directors and/or movies etc.
#### Previous project:
https://github.com/NemesLaszlo/Movie_Rental
#### Endpoints of the Backend: (The application is using ejs.)
| Entity | Type | URL | Description |
| -------- | ------ | ------------------ | ---------------------------------------------------------------------- |
| - | GET | / | Home Page with the recently added movies (with a limit (10)). |
| Director | GET | directors | Read all directors with a search option. |
| | GET | directors/new | "Read" - Get the create new director page. |
| | POST | directors/create | Create a new director. |
| | GET | directors/:id | Read a specific director by id. |
| | GET | directors/:id/edit | "Read" - Get the update or editing page of the director. |
| | PUT | directors/:id | Update a director by id. |
| | DELETE | directors/:id | Delete a director by id - delete every movies of the director as well. |
| Movie | GET | movies | Read all movies with a search option. |
| | GET | movies/available | Read all available (not rented) movies. |
| | GET | movies/new | "Read" - Get the create new movie page. |
| | POST | movies/create | Create a new movie. |
| | GET | movies/:id | Read a specific movie by id. |
| | GET | movies/:id/edit | "Read" - Get the update or editing page of the movie. |
| | PUT | movies/:id | Update movie by id. |
| | DELETE | movies/:id | Delete a movie by id. |