This repo contains the frontend for the EasyGenerator interview assignment.
- Sign Up User
- Sign In User
- Forgot / Reset Password of User
- Verify Email
- Refresh token
- UI/UX
- Reusable components
- Layouts
- Theming (primary/seconday and light/dark)
- State management using Context API and Redux
- Prettier for code formatting
- Eslint for error checking
- Vitest with Testing Library for testing components and hooks
- Public and Private layouts
- Basic authentication hooks and events
- Dark and Light mode
- FavIcon and Manifest for PWA
- React
- Vite
- Typescript
- MUI
- React router
- Node.js
- NPM
- Redux
Default environment variables passed during the Docker build process:
APP_API_BASE_URL: Api Base Url.AUTH_API_BASE_URL: Auth Api Base Url (Can be same as app api base url).ENABLE_SESSION_TIMEOUT: Boolean true/false to allow session timeout
$ npm install- Copy
.env.samplefile into.envfile
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.
Checks the code for errors and missing things
Formats the code according to ./prettierrc.js config
Launches the test runner in the interactive watch mode.
Builds the app for production or local development to the dist folder.
Prequisites - Install docker