This is the frontend for the PeerInSync project, a platform to connect students and alumni.
This project was bootstrapped with Vite and uses React.
- Install dependencies:
npm install
- Run the development server:
This will start the development server, typically at
npm run dev
http://localhost:5173.
In the project directory, you can run:
npm run devRuns the app in the development mode.
Open http://localhost:5173 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
npm run buildBuilds the app for production to the dist folder.
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.
npm run previewServes the production build locally. This is a good way to check if the production build is working correctly before deploying.
npm run lintLints the project files using ESLint.
- React: A JavaScript library for building user interfaces.
- Vite: A fast build tool for modern web development.
- React Router: For client-side routing.
- Axios: For making HTTP requests to the backend.
- Material-UI: A popular React UI framework.
- Bootstrap: For styling and responsive design.