Skip to content

Latest commit

 

History

History
74 lines (50 loc) · 1.32 KB

README.md

File metadata and controls

74 lines (50 loc) · 1.32 KB

Backend-nodepop

App for Backend module with Node.js and MongoDB, Buy and sell ads application for users.

Como arrancamos la base de datos en Linux y en Mac

./bin/mongod --dbpath ./datapop

NODEPOP

deploy:

npm install 

start the app in production with:

npm start 

start the app in development with:

npm run developer 

AUTENTICATE

Name: admin Password: 1234

DATE BASE

use nodepop

API Documentation

Advertisement list:

GET / api/ anuncios

{ "results":[ { "_id":"63b30072fc80ccd3b79d8e1e", "nombre":"apple macbook pro 16", "venta":true, "foto":"apple.jpg", "tags":["lifestyle","work" ] }

Examples routers page

Home, show all advertiesment, for this URL. We can aplly filters and pagination.

filter examples: