Skip to content

yasmimdemelo/node-crud-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node CRUD API

This is a project of a CRUD API using Node.js to create an HTTP server that can handle incoming requests to create, read, update or delete data, through the Thunder Client. This involves using built-in Node.js modules such as http, url, and fs to handle the server and routing logic, as well as a JSON file to allocate the data (simulating a database).

Purpose for me 🎯

Test a simple CRUD with Node.js and learn how it works without any libraries.

Installation 💻

Create JSON file

  • npm init

Install dependencies

  • npm install

Install nodemon

  • npm -i —save-dev nodemon

Install virtual environment

  • npm i dotenv

Install thunder client

  • Extension for Visual Studio Code

Run in production

  • npm start