All Projects → NathanCotrim → raw-nodejs-api

NathanCotrim / raw-nodejs-api

Licence: MIT license
An users NodeJS API without packages libs or frameworks!

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to raw-nodejs-api

Discovery
Discoveries on Sustainable Loading research
Stars: ✭ 174 (+461.29%)
Mutual labels:  v8
WebView4Delphi
WebView4Delphi is an open source project created by Salvador Díaz Fau to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC for Windows.
Stars: ✭ 157 (+406.45%)
Mutual labels:  v8
OldCEF4Delphi
OldCEF4Delphi is an open source project to embed Chromium-based browsers in applications made with Delphi.
Stars: ✭ 55 (+77.42%)
Mutual labels:  v8
Easy Monitor
企业级 Node.js 应用性能监控与线上故障定位解决方案
Stars: ✭ 2,451 (+7806.45%)
Mutual labels:  v8
Electron
Build cross-platform desktop apps with JavaScript, HTML, and CSS
Stars: ✭ 99,383 (+320490.32%)
Mutual labels:  v8
FENews.org
fenews.org
Stars: ✭ 20 (-35.48%)
Mutual labels:  v8
Core
Server core components which are a part of ONLYOFFICE Document Server
Stars: ✭ 152 (+390.32%)
Mutual labels:  v8
openrasp-v8
Google V8 with OpenRASP builtins
Stars: ✭ 42 (+35.48%)
Mutual labels:  v8
bytenode
A minimalist bytecode compiler for Node.js
Stars: ✭ 2,042 (+6487.1%)
Mutual labels:  v8
node-mini
Mini Node.js runtime built on V8
Stars: ✭ 24 (-22.58%)
Mutual labels:  v8
Unreal.js Core
Unreal.js plugin submodule
Stars: ✭ 189 (+509.68%)
Mutual labels:  v8
Examples
A collection of examples of Neon
Stars: ✭ 202 (+551.61%)
Mutual labels:  v8
all-about-node
All about Node.js
Stars: ✭ 16 (-48.39%)
Mutual labels:  v8
V8
✔️8️⃣ 分析V8和周边技术、并且着手代码的优化
Stars: ✭ 179 (+477.42%)
Mutual labels:  v8
v8-android-buildscripts
V8 build scripts for React Native Android
Stars: ✭ 63 (+103.23%)
Mutual labels:  v8
V8 Natives
Access v8 Engine Natives easily in Chrome & Node
Stars: ✭ 161 (+419.35%)
Mutual labels:  v8
zig-v8
Simple V8 builds with C and Zig bindings.
Stars: ✭ 87 (+180.65%)
Mutual labels:  v8
coverage-node
A simple CLI to run Node.js and report code coverage.
Stars: ✭ 39 (+25.81%)
Mutual labels:  v8
react-native-js-benchmark
JavaScript Engine Benchmark for React Native
Stars: ✭ 100 (+222.58%)
Mutual labels:  v8
docker-v8
Docker V8 Image
Stars: ✭ 26 (-16.13%)
Mutual labels:  v8

Project logo

NodeJS Users API - Without Frameworks And Packages

License


📝 Table of Contents


🧐 About

Purpose of this project was build a simple users API in a different way we see all time in nodeJS ecosystem, usually using Express, Adonis, Hapi... I used just the native modules of nodeJS and a JSON file as DataBank, that is managed using node fs



🏁 Getting Started


Installing

git clone https://github.com/NathanCotrim/NodeJS-API.git

or - (GitHub CLI)

gh repo clone NathanCotrim/NodeJS-API 

Running

node src/server.js

🎈 Usage


Main API Routes


http://localhost:3000/users

GET | List all users


http://localhost:3000/user/:id

GET | Get user by Id


http://localhost:3000/new/user

POST | Create User

Receives a JSON:

{
  "name": "Tester",
  "email": "[email protected]"
}

http://localhost:3000/update/user/:id

PATCH | Update User

Receives a JSON with new Information:

{
  "name": "TesterUpdated", (?)
  "email": "[email protected]" (?)
}

http://localhost:3000/delete/user/:id

DELETE | Delete User



To request any route without an app use:

curl ${url} -X ${method}

⛏️ Built Using


✍️ Author - Nathan Cotrim - MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].