Skip to content

A Online Education Platform. Developed a full-stack education platform enabling seamless interaction between students and teachers. Users can create accounts, enroll in courses, and access educational content, while admins manage course materials (create course, add lectures).

Notifications You must be signed in to change notification settings

chintu46306/EduWave-frontend

Repository files navigation

EduWave

Setup instruction

  1. Clone the Project
git clone https://github.com/chintu46306/EduWave-frontend.git
  1. Move into the directory
cd client

  1. install dependencies
npm i

  1. run the server
npm run dev

Setup instructions for tailwind

[Tailwind official instruction] (https://tailwindcss.com/docs/installation)

  1. Install tailwind
npm install -D tailwindcss postcss autoprefixer

  1. create tailwind config file
npx tailwindcss init

  1. Add file extension to tailwind config file in the contents property
"./src/**/*.{html,js,jsx,ts,tsx}", "./index.html"

  1. Add the Tailwind directives at the top of the 'index.css' file
@tailwind base;
@tailwind components;
@tailwind utilities;

  1. Add the following details in the plugin property of tailwind config
  plugins: [require("daisyui"),require("@tailwindcss/line-clamp")],
  

Adding plugins and dependencies

npm install @reduxjs/toolkit react-redux react-router-dom react-icons react-chartjs-2 chart.js daisyui axios react-hot-toast @tailwindcss/line-clamp

configure auto import sort eslint

  1. Install simple import sort
npm i -D eslint-plugin-simple-import-sort

  1. Add rule in .eslint.cjs
    'simple-import-sort/imports': 'error'

  1. Add simple-import sort pligin in .eslint.cjs
  plugins: [....,'simple-import-sort']

  1. To enable auto import sort on file save in vscode

    • Open 'settings.json'
    • add the following config
  "editor.codeActionOnSave":{
    "source.fixAll.eslint": true
  }

About

A Online Education Platform. Developed a full-stack education platform enabling seamless interaction between students and teachers. Users can create accounts, enroll in courses, and access educational content, while admins manage course materials (create course, add lectures).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages