/cosmosdb-crud

Project made to test Azure Cosmos DB 🪐.

Primary LanguageTypeScript

CosmosDB CRUD App

Typescript app with CosmosDB.


ℹ️ Como usar

# Clone este repositório
$ git clone https://github.com/joaovictornsv/cosmosdb-crud

# Entre na pasta do repositório
$ cd cosmosdb-crud

# Instale as dependências
$ yarn install

# Inicie o servidor
$ yarn dev

↪️ Rotas

Ver rotas

  • Get all users
/users
  • Get a specific user
/users/:id

  • Create a user
/users

Request Body:

{
  "name":
  "email":
}

  • Update a user
users/:id

Request Body:

{
  "name":
  "email":
}

  • Delete a user
/users/:id

Profile Made with 💙 by João Victor