Skip to content

BigaDev/test-backend

 
 

Repository files navigation

User APIs

Dependencies:

  • Node.js: v8.2
  • MongoDB: v3.2.15

Installation

npm install

Start Server

npm start

Docker

docker-compose up --build

Test

npm run test

Lint the code

npm run eslint

API

Method URI Description
GET /api/users/ Get list users (authorization required)
GET /api/users/:id Get user by id (authorization required)
POST /api/users/ Create new user (SignUp)
PUT /api/users/:id Update User by id (authorization required)
DELETE /api/users/:id Delete user by id (authorization required)
POST /api/users/login Login
Note: you can import wiredcraft-api.postman_collection.json into POSTMAN v2 to try APIs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%