fiqih16 / RESTful_API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

RESTful_API projects based Express js, Example of implementation for creating a personal website and mobile app backend.

How to Run

  • Open cmd and cd your project root directory
  • Run npm init
  • Run npm run start

API Endpoints

Methods Endpoints Description
GET /users Get all user data when logged in
POST /users Register account must given name,email,password & confPassword to body request
POST /login login account must given email & password to body request
DELETE /logout Logout
GET /token Get refresh token
GET /portofolio Get all portofolio
GET /portofolio/{id} Get specific portofolio by giver id

About


Languages

Language:JavaScript 99.2%Language:Shell 0.8%