Giter Site home page Giter Site logo

gestiontareasmongo's Introduction

API de Gestión de Tareas

Bienvenido a la documentación de la API de Gestión de Tareas. A continuación, encontrarás información sobre cómo utilizar los diferentes endpoints de la API.

Inicio Rápido

Instalación

  1. Clona el repositorio:
git clone https://github.com/tu-usuario/tu-repo.git
cd tu-repo
  1. Instala las dependencias:
npm install
  1. Crea un archivo .env en el directorio raíz y configura las siguientes variables:
PORT=3000
DB_URL=tu-url-de-mongodb
DB_PORT=27017
DB_DATABASE=tu-nombre-de-base-de-datos
JWT_SECRET=tu-clave-secreta-para-generar-tokens
  1. Ejecutar el servidor
nodemon

El servidor se ejecutará en http://localhost:9090.

Manual de la API

Registrarse

  POST /api/user/registro
Parametro Tipo Description
nombre string Required. Nombre de usuario
email string Required. Email del usuario
contrasena string Required. Contraseña del usuario
rol string Required. Rol del usuario. Administrador o Programador

Inicio de Sesión

  POST /api/user/login
Parametro Tipo Descripcion
email string Required.Email del usuario
contrasena string Required. Contraseña del usuario

Información del usuario

Parametro Tipo Descripcion

gestiontareasmongo's People

Contributors

demon-for-arcangel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.