Server Base - Proyecto ONG

Overview

Server Base - Proyecto ONG

Envinroment setup

  1. Create database
  2. Copy .env.example to .env and fill with database credentials.

To install dependencies, run

npm install
  1. Migrations:
npx sequelize-cli db:migrate
  1. Seeders:
npx sequelize-cli db:seed:all

Start local server

npm start

Users for test

There are 10 admin and 10 no admin users to test. Their emails and password are:

Comments
  • OT199-24 User registration endpoint

    OT199-24 User registration endpoint

    • Instalación de bcryptjs y express-validator
    • Creación ruta '/auth'
    • Registro de usuarios mediante peticion POST en endpoint '/auth/register'
    • Encriptación de contraseñas mediante bcryptjs
    • Creación de helper para validar campos
    • Validaciones de campos
    opened by Miguelch7 2
  • OT199 63 endpoint listar contactos

    OT199 63 endpoint listar contactos

    Dejo acá el ticket que pidió, en modo administrador

    GET /contacts - Devolverá todos los registros de contactos. Este endpoint solo podrá ser accedido por un usuario administrador

    enhancement 
    opened by alexander-r2020 1
  • Ot199 66 agregar campos de contacto a organizations

    Ot199 66 agregar campos de contacto a organizations

    • Se crea un migration con addcolumn
    • Se agrega a model organization las columnas nuevas
    • Se crea un seed que actualiza el registro con los datos de ONG del pdf
    opened by pargon 1
  • OT199-47-Endpoint-CreateNews

    OT199-47-Endpoint-CreateNews

    • Se creó el router de news
    • Se creó el endpoint POST /news
    • Se valida la existencia de los campos
    • Se valida que el usuario sea Admin
    • Se valida que el categoryId exista
    • Se retorna la news creada
    • Se modificó el modelo, creando el campo "type"
    opened by Miguelch7 1
  • Ot199 50 eliminar novedades

    Ot199 50 eliminar novedades

    Cree la ruta e hice la implementación requerida, es mi segundo request, espero que vaya bien Criterio: DELETE /news/:id - Deberá validar la existencia en base al id enviado por parámetro. En el caso de que exista, eliminarla.

    enhancement 
    opened by alexander-r2020 1
  • Ot199 17 user create model migration and controller

    Ot199 17 user create model migration and controller

    • Se añadió timestamps y sofDelete en modelo User
    • Se cambio el nombre del campo "image" a "photo" (para tener coherencia con el ticket)
    • Se restringio valores nulos a los campos
    • Se creó el controlador User
    opened by Miguelch7 1
Releases(v1.4.0)
  • v1.4.0(Jun 28, 2022)

    What's Changed

    • OT199-91-NewsDocumentation by @Miguelch7 in https://github.com/alkemyTech/OT199-Server/pull/133
    • OT199-130-seed-modelo-comments by @pargon in https://github.com/alkemyTech/OT199-Server/pull/134
    • OT199-80-Endpoint-para-listar-Comentarios by @pargon in https://github.com/alkemyTech/OT199-Server/pull/135
    • MEJORA DE OT199-59 Crear Slides by @alexander-r2020 in https://github.com/alkemyTech/OT199-Server/pull/137
    • Ot199 83 endpoint eliminación comentarios by @pargon in https://github.com/alkemyTech/OT199-Server/pull/136
    • add testimonial documentation by @Exequiel65 in https://github.com/alkemyTech/OT199-Server/pull/131
    • resuelvo error de validacion by @diegocarlosdiaz in https://github.com/alkemyTech/OT199-Server/pull/138
    • Documentation for members by @TTorr3 in https://github.com/alkemyTech/OT199-Server/pull/140
    • Ot199 94 documentacion autenticacion by @diegocarlosdiaz in https://github.com/alkemyTech/OT199-Server/pull/139
    • Ot199 101 test endpoints authentication by @pargon in https://github.com/alkemyTech/OT199-Server/pull/142
    • Ot199 96 test members controller by @TTorr3 in https://github.com/alkemyTech/OT199-Server/pull/141
    • Releasev1.4.1 by @aron8112 in https://github.com/alkemyTech/OT199-Server/pull/145

    Full Changelog: https://github.com/alkemyTech/OT199-Server/compare/v1.3.1...v1.4.0

    Source code(tar.gz)
    Source code(zip)
  • v1.3.1(Jun 16, 2022)

    What's Changed

    • Fix routes app de slides by @alexander-r2020 in https://github.com/alkemyTech/OT199-Server/pull/115
    • OT199 79 migración y modelo de comentarios by @alexander-r2020 in https://github.com/alkemyTech/OT199-Server/pull/116
    • OT199-78-Middleware-AddRoutesProtection by @Miguelch7 in https://github.com/alkemyTech/OT199-Server/pull/118
    • Small changes by @aron8112 in https://github.com/alkemyTech/OT199-Server/pull/120
    • OT199-86-NewsPagination by @Miguelch7 in https://github.com/alkemyTech/OT199-Server/pull/113
    • Ot199 59 crear slides by @alexander-r2020 in https://github.com/alkemyTech/OT199-Server/pull/121
    • OT199-88-agregar paginacion a Testimonios by @alexander-r2020 in https://github.com/alkemyTech/OT199-Server/pull/123
    • creo endpoint para listar comentarios en base a un post by @diegocarlosdiaz in https://github.com/alkemyTech/OT199-Server/pull/124
    • Seed with test-users to test functions by @TTorr3 in https://github.com/alkemyTech/OT199-Server/pull/125
    • arreglo de permiso de ruta para usuario by @alexander-r2020 in https://github.com/alkemyTech/OT199-Server/pull/127
    • Hotfix respuesta de la funcion decodeimage by @alexander-r2020 in https://github.com/alkemyTech/OT199-Server/pull/128
    • Ot199 82 endpoint update comment by @TTorr3 in https://github.com/alkemyTech/OT199-Server/pull/126
    • Fix middleware of comment Owner by @TTorr3 in https://github.com/alkemyTech/OT199-Server/pull/129
    • creacion de endopint create by @diegocarlosdiaz in https://github.com/alkemyTech/OT199-Server/pull/122
    • Ot199 76 endpoint actualizacion miembros by @aron8112 in https://github.com/alkemyTech/OT199-Server/pull/119
    • Ot199 85 agregar paginacion categorias by @Exequiel65 in https://github.com/alkemyTech/OT199-Server/pull/117
    • OT199 87 Agregar paginacion a miembros by @pargon in https://github.com/alkemyTech/OT199-Server/pull/112
    • Releasev1.3.0 by @alexander-r2020 in https://github.com/alkemyTech/OT199-Server/pull/132

    Full Changelog: https://github.com/alkemyTech/OT199-Server/compare/v1.2.0...v1.3.1

    Source code(tar.gz)
    Source code(zip)
Owner
Alkemy
Alkemy
solana-base-app is a base level, including most of the common features and wallet connectivity, try using `npx solana-base-app react my-app`

solana-base-app solana-base-app is for Solana beginners to get them up and running fast. To start run : run npx solana-base-app react my-app change th

UjjwalGupta49 33 Dec 27, 2022
Deta Base UI - A place with more functionality for managing your Deta Base(s).

Deta Base UI - A place with more functionality for managing your Deta Base(s). ✨ Features: Total rows count Quick multi select (click and shift) Searc

Harman Sandhu 13 Dec 29, 2022
Um projeto que eu criei de uma ONG de adoção de cachorros

Projeto Pet Hope ?? Landing page de uma ONG fictícia de adoção de cachorros. Layout do site Uma landing page simples com um menu 'Quero adotar' que le

Jhony Freitas 2 Jul 13, 2022
ONG-Node

Server Base - Proyecto ONG Envinroment setup Create database Copy .env.example to .env and fill with database credentials. To install dependencies, ru

Alkemy 3 Oct 7, 2022
e-ONG, an authorial project, whose objective is to help ONGs to find people who need help or would like to help them

This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: npm start Runs the app in the developmen

Lucas Lima 2 Nov 11, 2022
🐲 Epic NFTs [UI] - Proyecto que te permitirá conectar tu billetera y acuñar un NFT, podrás revender el NFT en OpenSea. El NFT en sí se puede personalizar

?? Epic NFTs [UI] El proyecto se encuentra deployado en Vercel para que puedan verlo e interactuar con él, toda crítica o comentario se agradece, pued

Braian D. Vaylet 17 Oct 22, 2022
Chontaduro, Borojo, Sancocho de gallina y algo sustancia perico fueron usadas para crear el mejor proyecto de código en toda la historia de Colombia

Chontaduro, Borojo, Sancocho de gallina y algo sustancia perico fueron usadas para crear el mejor proyecto de código en toda la historia de Colombia

juansito 6 May 11, 2022
Konbini Otaku, Web E-Commerce del proyecto Estación Otaku, desarrollada con Next.js y desplegada con Vercel

Konbini Otaku ?? ?? ⛩️ ?? - Reto Final (parte 2) Este proyecto constó de proponer "Konbini Otaku", la cual es una tienda virtual en la que podrás adqu

null 2 Apr 28, 2022
Proyecto gratis, hecho en comunidad.

Adopcanem landing page Este es un proyecto gratuito hecho en comunidad, usando Next.js, React, ChakraUI y TypeScript. El prototipo se puede encontrar

Gonzalo Pozzo 19 Jul 10, 2022
Este repositorio contendrá el proyecto final de Angular con temática de Pokemon Unite

ProyectoFinal This project was generated with Angular CLI version 14.0.2. Development server Run ng serve for a dev server. Navigate to http://localho

null 2 Jun 19, 2022
Frontend - Proyecto final Henry FT25B-G4

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 Aug 4, 2022
Proyecto de encriptasion, echo para el curso de Oracle Next Education 2022

Encriptador Proyecto de Encriptador, echo para el curso de Oracle Next Education 2022. Link directo al proyecto desplegado Link al Encriptador Instruc

Bernardo Abel Lopez 14 Dec 28, 2022
Ox "base" template server

OX Base Template Server This repo is an updated version of Judd's ox_base_template_server, as he discontinued his repo I will still be contributing to

null 2 Feb 6, 2022
Base Mydog remould , NodeJS Server

KalrCat 卡尔猫,基于开源Nodejs服务端框架 Mydog 魔改而成 使用了Protobuf 作为 协议传输工具 Base Mydog remould , NodeJS Server Protobuf is used as a protocol tool Mydog Home https:/

啊安 8 Nov 4, 2022
Monolithic repo for api server, image server, web server

Onsecondary Market Deployed at https://market.onsecondary.com Monolithic repo for api server, image server, web server TODO -use a script to cull expi

Admazzola 2 Jan 11, 2022
Eleventy base project

Project base for Eleventy Sites Includes static page template, blog post template, post feed, pagination, tags and RSS. Also includes gulp setup for S

Andy Bell 70 Dec 21, 2022
The code base for the tutorial on how to use the TypingDNA Verify API

TypingDNA-Verify-API-Tutorial The code base for the tutorial on how to use the TypingDNA Verify API Resources TypingDNA Website TypingDNA Verify Docs

Tim Ruscica 21 Oct 6, 2022
Base-mock-api - Repo to storage my fake api's to use in my 2022 projects.

Base Mock API's Project made 100% with JavaScript, with the objective of creating endpoints to use in projects. Prerequisites Before you begin, ensure

Arthur Cabral 0 Nov 20, 2022
JavaScript API based capstone project using TVmaze API for displaying and interacting with items from the data base.

Yuriy Chamkoriyski & Bonke Gcobo Javascript capstone project API-based webapp from Module 2 at Microverse Wireframe requirements The Home Page low fid

Yuriy Chamkoriyski 5 May 30, 2022