{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"7762ffb6-ec45-4a11-932e-b47fb4a06b1e","name":"Headless CMS with Express.js API","description":"# About\n\nNode API is backend product built by [Creative Tim](https://www.creative-tim.com/) and [UPDIVISION](https://updivision.com/).  \nTo find out more about the project visit our [product page](https://www.creative-tim.com/product/vue-material-dashboard-laravel-pro).\n\n# Node.js and Express.js\n\nNode.js offers different kinds of server-side tools and applicationsin JavaScript. It has great performance, written to optimize throughput and scalability in web applications, and is a good solution for many common web-development problems.\n\nExpress.js is a minimalist Node framework. It provides mechanism to write handlers for requests with different HTTP verbs at different routes, to set common web application settings (like port, location of templates), to add additional request processing \"middleware\" and to integreate with \"view\" rendering engines. Express is alto the most common used Node framework.\n\n# Prerequisites\n\nNode API backend project requires a working Node.js, npm and MySQL enviroment. We need at least version 15 of the Node.js and npm version 7.\n\nIf you don't already have Node.js and npm installed follow the links:\n\n\\* Windows: [install Node.js and npm](https://phoenixnap.com/kb/install-node-js-npm-on-windows), [create mongoDB collection](https://www.mongodb.com/)  \n\\* Linux: [install Node.js and npm](https://www.geeksforgeeks.org/installation-of-node-js-on-linux/), [create mongoDb collection](https://www.mongodb.com/)  \n\\* Mac: [install Node.js and npm](https://treehouse.github.io/installation-guides/mac/node-mac.html), [create mongoDB collection](https://www.mongodb.com/)\n\n# Download\n\nFor the free version of the project you can either\n\n\\* download the .zip file from the Creative Tim site and extract it or  \n\\* make a clone from the Github repository  \nFor the PRO version you will download the .zip file after you purchase the product on the [Creative Tim](https://www.creative-tim.com/) website.\n\n# Installation\n\n1.  Navigate in your Node API project folder: `node-api-project`\n2.  Install project dependencies: `npm install`\n3.  Create a new .env file: `cp .env.example .env`\n4.  Add your own database credentials in the .env file in DB_DATABASE, DB_USERNAME, DB_PASSWORD and your APP_URL_CLIENT and APP_URL_API\n5.  Create users table and seed the by using Sequelize commands:\n    1.  `npm run clear`\n    2.  `npm run seed`\n6.  Add your own mailtrap.io credentials in the `.env` file in MAILTRAP_USER and MAILTRAP_PASSWORD variables","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":true,"owner":"8138626","team":1072355,"collectionId":"7762ffb6-ec45-4a11-932e-b47fb4a06b1e","publishedId":"Uze1virp","public":true,"publicUrl":"https://documenter-api.postman.tech/view/8138626/Uze1virp","privateUrl":"https://go.postman.co/documentation/8138626-7762ffb6-ec45-4a11-932e-b47fb4a06b1e","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"3c873a"},"documentationLayout":"classic-single-column","customisation":null,"version":"8.10.1","publishDate":"2022-08-01T08:37:03.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[{"name":"Node Api","id":"0f8082b0-b2d4-4436-abfb-23e6322ad57a","owner":"8138626","values":[{"key":"node_url","value":"https://node-json-api-pro.creative-tim.com","enabled":true,"type":"default"},{"key":"access_token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiZW1haWwiOiJhZG1pbkBqc29uYXBpLmNvbSIsImlhdCI6MTY1OTM0Mjc3MiwiZXhwIjoxNjU5NDI5MTcyfQ.ydcQhcUKed5gZTckJgwpmLSJgzlgT16fgy_BFMKmaOY","enabled":true,"type":"default"}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/39bd3dcbbe44bf8c7fda793478dd2d9236e7615e29f445f074160f47e9ca5f85","favicon":"https://res.cloudinary.com/postman/image/upload/v1590740088/team/tnan1jtzzxwehb0zwnru.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"Node Api","value":"8138626-0f8082b0-b2d4-4436-abfb-23e6322ad57a"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/Uze1virp"}