Cinema e-commerce platform.
niiccolas / nevskii Goto Github PK
View Code? Open in Web Editor NEWAn e-commerce platform for film lovers.
Home Page: https://nevskii-web.herokuapp.com/
An e-commerce platform for film lovers.
Home Page: https://nevskii-web.herokuapp.com/
Add user login / authentication.
Use Next's tailor made: NextAuth https://next-auth.js.org/
Develop an API endpoint that returns a paginated list of database products, with optional search parameters.
/products
size
- numberpage
- numbertitle
- string
orderBy
- string (=createdAt, newest first)
order
- "asc" | "desc"media
- numberauthor
- string
bestseller
- booleanpage
- current pageitemsPerPage
- default size = 10itemsTotal
items
- Product[]{
"page": 1,
"itemsPerPage": 10,
"itemsTotal": 11,
"items": [
{
"idProduct": 180,
"title": "Le Grand Blond avec une chaussure noire",
"titleOriginal": "Le Grand Blond avec une chaussure noire",
"price": "1290",
"synopsis": "Un violoniste distrait voit sa vie bouleversée par une guerre que se livrent des membres des services secrets français.",
"productionYear": 1972,
"createdAt": "2008-03-01T00:00:00.000Z",
"ean": "3607483156223",
"imageUrl": "https://images.epagine.fr/223/3607483156223_vid.jpg",
"authors": {
"idProductAuthors": 236
},
"mediaType": {
"idMediaType": 0,
"name": "DVD"
},
"availability": {
"idAvailability": 0,
"name": "Disponible"
}
},
// ...
]
}
Develop an API endpoint that, given a product ID, returns detailed information for that product.
/products/:id
A single JSON object with the following keys:
{
"title": "Akira",
"titleOriginal": "Akira",
"price": "1990",
"synopsis": "Neo-Tokyo, an 2019. Détruite trente ans plus tôt par une mystérieuse explosion, la mégalopole japonaise renaît de ses cendres et se prépare à héberger les Jeux Olympiques. Les oubliés de la reconstruction manifestent chaque jour contre le pouvoir en place, tandis que les plus jeunes trouvent refuge dans la drogue et la baston. Parmi eux, Kaneda et Tetsuo, amis d'enfance, et membres d'un gang de jeunes motards. Au coeur des travaux du stade, une section spéciale de l'armée poursuit en grand secret le projet Akira, tandis que les dissidents cherchent à percer le mystère qui se cache derrière ce nom.",
"productionYear": 1988,
"createdAt": "2011-06-08T00:00:00.000Z",
"ean": "5413505306341",
"imageUrl": "https://images.epagine.fr/341/5413505306341_vid.jpg",
"availability": "Disponible",
"stockStatus": "Sur commande",
"publisher": "Dybex",
"distributor": "DYBEX - 9EME DIMENSION",
"ageRating": "Tous publics",
"mediaType": "DVD",
"countries": "japon",
"authors": "Otomo Katsuhiro",
"bonusContent": "Contient 2 doublages français :\n- le doublage version 1.0 (d'origine), en DD 2.0\n- le doublage version 2.0 (dénuée des erreurs historiques de traduction, et avec l'ensemble des voix françaises originales), en DD 5.1\nMaster d'origine en Haute Définition\n\nTeasers\nBandes-annonces Dybex",
"minutes": 125,
"dvdZone": "2",
"category": "Animation",
"formatTv": "16/9 Anamorphique",
"formatFilm": "1.85",
"actors": "Alexandre Gillet;Barbara Tissier;Gilbert Levy;Mami Koyama;Mathias Kozlowski;Mitsuo Iwata;Nozomu Sasaki;Tessho Genda",
"audioTracks": "Français DD 2.0;Français DD 5.1;Japonais DD 2.0;Japonais DD 5.1",
"subcategories": "Manga",
"genres": "Action / Aventure;Science-Fiction",
"subtitles": "Français;Néerlandais",
"collections": null
}
Create and deploy the following endpoints
api/product/
api/product/:id
api/product/:media
api/product/bestsellers
api/product/category/:cat
api/login
api/logout
api/cart
api/profile
Develop a Menu component that enables navigation to site pages
Enhance ProductListing
component to implement pagination of results coming from nevskii-API.
Project's README should feature the following documentation:
Develop a dedicated API endpoint that returns a list of 100 bestsellers.
api/product/bestsellers
select p.title, p.id_product, sum(op.quantity) as "sum" from order_products as op
join products as p on p.id_product = op.id_orp_product
group by p.title, p.id_product
order by "sum" desc
limit 100;
Enhance /products
search API endpoint
Add the following query parameters:
media
- numberauthor
- string
bestseller
- booleanA declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.