Giter Site home page Giter Site logo

migracode-users-session's Introduction

migracode-users-session

Before to start

  1. Think about a complete login system, draw the forms on a paper
  2. Could you list the different endpoints your backend needs to be able to complete all login functionalities? explain how would work each one and dessign the database on a paper

Part 1: Back-End

  1. Create the DB
  2. Create the project structure, 2 folders clientand server
  3. Int the In the server folder create a server connected to the DB
  4. Develop the 4 endpoints (introduce bcrypt to store passwords, email sender??, there is an easy way to manage sessions in Node?)
  5. Test endpoints with postman

Part 2: Front-End

  1. In the client folder, Build the react APP
  2. Build Register Component connected to the server
  3. Build Login Component connected to the server
  4. Build Dashboard Component connected to the server, how do we manage the sessionId in the front, cookies?

Part 3: Add roles to the users in your project

  1. Server: There will be an admin role, change the server to only allow admin users access to all users data
  2. Client: Add the role and in client code, only the admin will see a complete list of all users, able to remove them 1 by 1

migracode-users-session's People

Contributors

carlossanchezheil1984 avatar

Watchers

James Cloos 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.