Giter Site home page Giter Site logo

nextia-prueba-bgs's Introduction

Live demo version

You can test this project in the live version https://www.brandongs.xyz/

Directories

To know more about how to run the project please read the README file inside of the next directories

First you need to run the backend project and after the frontend

nextia-prueba-bgs's People

Contributors

brandon-gs avatar

Watchers

 avatar

nextia-prueba-bgs's Issues

FB - Create invitations module

Backend

  • Create invitations model
  • Create GET service with pagination
  • Create GET service for one invitation
  • Create POST service
  • Create DELETE service

Frontend

  • Create Protected Page for show invitations
  • Show paginated invitations
  • Add feature to delete the invitation
  • Create page for create a new invitation
  • After create an invitation show a modal with QR code
  • Create page for show invitation details and show invitation QR

Back - Add required libraries

  • Add morgan (HTTP request logger middleware for node.js)
  • Add dotenv (Load environment variables)
  • Add cors (Allow front to connect to this API)
  • Add cookieParser (Allow save and get cookies on the client)
  • Add express-slow-down (Basic IP rate-limiting middleware)

Back - Create user registration

  • Install al dependencies (bcrypt, jsonwebtoken, zod, passport)
  • Create User Data Model
  • Setup passport
  • Create Auth Controllers
  • Create Auth Routes
  • Add Auth Routes into app routing
  • Manage Zod errors in errorHandler middleware

Front - Create login page

  • Install dependencies (zod, react-hook-form)
  • Create login form component
  • Show login form on /login route

Front - Add authentication logic

  • Install dependencies
  • Config notistack
  • Create services with RTK Api
  • Create AuthSlice to save user information
  • Create Store
  • Sets up the store
  • Add Login logic using RTK
  • Add middleware to handle RTK requests errors
  • Add authentication middleware to protect some pages
  • Backend - return user on login and register endpoints
  • Add provisional protected page
  • Add provisional logout

FB - Create forgot password flow

  • Install dependencies (FB)
  • Config nodemailer to send email (B)
  • Create email template to send (B)
  • Create forgot password service (B)
  • Create forgot password page (F)
  • Call the service in forgot password page (F)

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.