Skip to content

elemikelo/Nodepop

Repository files navigation

Nodepop API

URL DevOps

http://nodepop.lmalvarez.es/images/anuncios/iphone7.jpg

How to start

Cloning repository

https://github.com/elemikelo/Nodepop
  1. Enter to the folder of the project:
$ cd Nodepop
  1. Install Dependencies:
$ npm install
  1. Run scripts 'Install_db' for add users and advertisements. (Note: Run Mongo DB previously):
$ node /db/install_db.js
  1. Start with the project:
$ npm start

API advertisements

Endpoint

(GET) List advertisements: http://localhost:3000/apiv1/advertisements

filters parameters : filter(price, name, tags), sort and limit.

API Users

Endpoint Register

(POST) Register : http://localhost:3000/apiv1/users/register

Parameters:

username: String
password: String
email: String

Endpoint login

(POST) Authenticate : http://localhost:3000/apiv1/users/login

Parameters:

username: String
password: String

About

API Nodepop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages