Ekachka / crud-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CRUD API

Task is implemented simple CRUD API using in-memory database underneath

Installation and Prerequisites

  • You need to Install 16 LTS version of Node.js.
  • Use only npm commands in the repo.

Getting started

# clone the repo and checkout to brunch "crud-api-task" 

# install any modules
npm install

# start the development mode
npm run start:dev

# start the production mood
npm run start:prod
  • check this task using Postman.
  • server started on PORT = 5000, if you want to change this use .env file.

URL to check the task

 - api/users
 - api/users/${userId}
 
# for example: api/users/86aa36eb-3ab3-4cc3-8a7f-0b1c2b8c95cb

About