Skip to content

Frnbrz/secura-insurance-api

Repository files navigation

API Nodejs + Cliente js

Api rest con nodejs, express con un cliente con js sin framework.

Start

To start client server:

npm run dev:cliente

To start server:

npm run dev:servidor

Install the dependencies:

npm run install

Features

  • NoSQL database: MongoDB con libreria Mongoose
  • Authentication and authorization: usando jwt
  • Encriptacion contraseñas: usando bcrypt

API

port: 3000

API Endpoints

List of available routes:

Auth routes:
POST /api/login - login

User routes:
POST /api/users - create a user
GET /api/users - create a users
GET /api/users/:userId - get user

Front

port: 3001

Dependencies

Auth

Refresh Token

Node.js Express Architecture with Authentication & Authorization

Aturization

stateless statefull

http es stateless para convertirlo en statefull

Librerias

Crear una sesion, hacer un token y meterlo en la cookie

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published