/togo-travel

Primary LanguageJavaScript

API project

Database structure

I use a mongoDB database with the npm package named Mongoose

Collections

  • cityCollection
    1. name
    2. country
    3. description
    4. image

API End Points

Verb Url Actions
GET / Display all
POST /new Create new
GET / Display a specific
PUT Update a specific
DELETE Delete a specific