Giter Club home page Giter Club logo

fullstack_practice's Introduction

# Lerna_Project IFCA Training using React-TypeScript as Front-End, TypeGraphQL as Back-End and Postgres as Database

Pre-Requisites:

  1. open the Windows Subsystem for Linux, to connect the Redis connection by typing 'sudo service redis-server' start and then check the Redis connection by typing "redis-cli" & "ping"
  2. open both terminals in VS Code and then run the backend(typegraphql-practice) first by typing the 'yarn start' and then run it by clicking the Enter button, then run the frontend(react-typescript-frontend) by typing the 'yarn dev' and then run it by clicking the enter button

To register the user:

  1. click the register button
  2. enter the details
  3. click the register button to submit it (you will see the backend was operating well and will move to )
  4. get the token from the backend side. which was: Message sent: [email protected] Preview URL: https://ethereal.email/message/{random url}
  5. Copy the token and paste it and then click the confirm email button that will proceed to the login page
  6. Login page enter the details then click the login button but don't forget to open the inspect button inside the website, which will show that the cookie was added.
  7. Once the system is logged in, it will show the welcome page and a logout button. When you click the logout button, it will delete the cookie inside the inspect section in the browser.

Issues:

  • I tried to get the token from the backend part and put it in the front-end but there is no result shown

Notes:

  • For the backend part I followed the method from the Ben Awad TypeGraphQL tutorial playlist from Setup to Logout
  • For the frontend part I used Chakra UI and Nextjs and the methods from Ben Awad's Fullstack React GraphQL TypeScript Tutorial (without using MikroORM)
  • I have not included the forgotPassword and changePassword, and I made it optional.

Software Tools:

  • React-TypeScript
  • TypeGraphQL
  • Charkra-UI
  • TypeORM
  • Postgres

fullstack_practice's People

Contributors

wjhrico-25 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.