Skip to content

thami88/v4-api-mern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Title & Description

  • V4 API MERN

Technologies Used

  • Node Js | Express Js | Mongoose

Getting Started

Prerequisites

  • Node.js
  • npm

Installation

  • run npm install

Environment Variables

  • create .env
  • add PORT (Server configuration) and MONGO_URI (Database connection string)

Running the App

  • run npm run dev

API Endpoints

Method

  • GET
  • POST
  • UPDATE
  • DELETE

Path

Places

  • /api/places/ -> create place
  • /api/places/:pid -> update place
  • /api/places/:pid -> delete place
  • /api/places/:pid -> get place by Place_Id
  • /api/places/user/:uId -> get places by User_Id

Users

  • /api/users -> Get ALl Users
  • /api/users/signup -> Create User
  • /api/users/login -> Login User

Error Handeling

  • /api/test

About

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors