- Клонируйте этот репозиторий:
git clone https://github.com/sodapng/simple-crud-api.git
- Создайте
.env
с переменными окружения, перечисленными ниже - Запустите
npm install
в корневой папке - Запустите
npm run start:dev
PORT
— Порт для запуска сервера (по умолчанию 1337)
МЕТОДЫ: GET
, POST
, PUT
, DELETE
ENDPOINT: api/users
НЕ ИСПОЛЬЗУЙТЕ СЛЕШ В КОНЦЕ! api/users !== api/users/
.