/cloudLily

{Node, Express}JS cloud server for saving adverts and creating/authenticating users.

Primary LanguageJavaScript

cloud Lily

Installation

$ npm install

Start Server

$ npm start

Implemented API

URL = /api

ADVERTS:
  GET   /adverts           | List adverts by params(check out the controller file)
  POST  /adverts           | Create an advert
  GET   /adverts/:id       | Get advert by id
USERS:
  GET   /users/?user=USERNAME&password=PASSWORD | Authenticate User
  GET   /users/all                              | List all users
  POST  /users                                  | Create a user
  PUT   /users                                  | Update a user's password