Talent-Plus-Backend

Postman link: https://www.getpostman.com/collections/b8647f4e49e7da7d2ce8

Explore the docs »

Postman Demo · Report Bug · Request Feature

# Talent-Plus

Backend Microservice API

Tools/Languages
  • Javascript
  • Node.js
  • Express.js
  • MongoDB

Development

Prerequisites

Clone this repo

git clone https://github.com/Psalmzee/Talent-Plus-Backend.git

Install project dependencies

npm install

Update .env with example.env in root directory

Run a development server

npm start
---

## Usage

### Base URL

- https://localhost:9002


### Create a Text

- Route: /api/texts
- Method: POST

:point_down: Body

```json
{
  "title": "TALENT PLUS"
}

👇 Response

{
  
    "status": "success",
    "data": {
        "title": "TALENT PLUS",
        "_id": "63756f852b0bed768b968d45",
        "__v": 0
    }
}

Get all Texts in db

  • Route: /api/texts
  • Method: GET

👇 Response

{
    "status": "success",
    "data": [
        {
            "_id": "63756f852b0bed768b968d45",
            "title": "TALENT PLUS",
            "__v": 0
        }
    ]
}

Delete Text

  • Route: /api/texts/:TextId
  • Method: DELETE


PROJECT OWNER

  • NAME: Petra
  • PROJECT: TALENT-PLUS