LIVE HERE : https://react-authentication-1v0.web.app/
React-authentication is a react web secure authentication application using firebase authentication api and authentication tokens approach with React JS / TypeScript / Firebase Authentication / AWS Lambda for backend / Cypress for E2E tests / Redux Toolkit / Prime React / React router dom V6 / CSS / ESLint.
I developed the backend in an AWS Lambda function to store the API_KEY and call the firebase API safely with the help of API GATEWAY to expose the endpoints, limit the requests and restrict the CORS policy and i also used CloudWatch to track logs.
For the deployement I built the project with the yarn build
commande and I deployed with Firebase with a strong CSP configuration preventing from XSS attacks that you can find in the firebase.json file, here the documentation for hosting and deploying your app in Firebase : https://firebase.google.com/docs/hosting/quickstart.
( Choose the LTS version recommanded for most users )
In the project directory, you can run:
to install the yarn package, it's an alternative of npm.
To install all dependencies.
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
ImmuniWeb combines AI-powered vulnerability scanning with manual pentesting to give a full assessment of your website’s security. It assesses both frontend and backend security and is strong on regulatory compliance (e.g., GDPR, PCI DSS).
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
To Launche the cypress desktop app built with Electron but before you need to have the app started with "yarn start" in an other terminal.
Builds the app for production to the build
folder without SOURCEMAP.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Note: this is a one-way operation. Once you eject
, you can’t go back!
If you aren’t satisfied with the build tool and configuration choices, you can eject
at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject
will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
You don’t have to ever use eject
. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.