Muhammad-Alaasar / NTI--News-API-Backend

Final project to test knowledge of my backend programming and graduate project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

News API (Back-end)

A Backend of News API by node js

by Muhammad Al-Aasar

Technologies

  • JavaScript
  • Node JS (Environment)
  • Express (Backend Operations Handler)
  • MongoDB (NoSQL Datebase)
  • mongoose (Database Operations Handler)
  • bcryptjs (Encode Handler)
  • jsonwebtokenn (Token Handler)
  • validator (Validation Data Handler)
  • multer (Upload Operations Handler)
  • path (Path Handler)

Usage

  1. First Step:

Download project files or clone it

https://github.com/Muhammad-Alaasar/news-api.git
  1. Second Step:

Open project folder in terminal or cmd and do it

npm i
  1. Third Step:

Download postman and do this operations

https://localhost:3000/addReporter - (POST)
https://localhost:3000/login - (GET)
https://localhost:3000/profile - (GET)
https://localhost:3000/profile - (PATCH)
https://localhost:3000/profile - (DELETE)
https://localhost:3000/uploadImage - (POST)

https://localhost:3000/addNews - (POST)
https://localhost:3000/myNews - (GET)
https://localhost:3000/allNews - (GET)
https://localhost:3000/news/:id - (GET)
https://localhost:3000/news/:id - (PATCH)
https://localhost:3000/news/:id - (DELETE)

License

Free Software, Yeah!

About

Final project to test knowledge of my backend programming and graduate project


Languages

Language:JavaScript 100.0%