To get started with the SkillShore Web App, follow these steps:
git clone https://github.com/aashutoshlekhak/Skillshore-skill-assessment
cd skillshore-frontend
npm install
npm run dev
The project follows the following folder structure:
- /src: Contains the source code for the React app.
- /assets: Static assets used in the project, such as images.
- /components: Reusable React components.
- /Configs: Base url file.
- /layouts: Contains layouts components.
- /pages: React components representing individual pages of the application.
- /admin: React components representing admin pages.
- /types: Contains the types used.
- /auth: React components representing auth pages.
- /types: Contains the types used.
- /student: React components representing student pages.
- /types: Contains the types used.
- /admin: React components representing admin pages.
- /redux: Folder contains redux components like store and api.
- /services: Contains api and endpoint.
- /slice: Contains slices.
- /store: Contains redux store.
- /validation: Contains form validation schemas implemented using Yup.
- App.tsx: Main component serving as the entry point for the React application.
- index.css: Styles specific to the main application component.
- main.tsx: Entry point for the React application where the
ReactDOM.render
function is used.
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
- Configure the top-level
parserOptions
property like this:
export default {
// other rules...
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
project: ["./tsconfig.json", "./tsconfig.node.json"],
tsconfigRootDir: __dirname,
},
};
- Replace
plugin:@typescript-eslint/recommended
toplugin:@typescript-eslint/recommended-type-checked
orplugin:@typescript-eslint/strict-type-checked
- Optionally add
plugin:@typescript-eslint/stylistic-type-checked
- Install eslint-plugin-react and add
plugin:react/recommended
&plugin:react/jsx-runtime
to theextends
list# Skillshore-skill-assessment