QNA is a full-stack web application built using the MERN stack (MongoDB, Express.js, React.js, Node.js). It provides a platform for users to engage in question-and-answer sessions, with a special feature allowing audio questions.
- Frontend: QNA Frontend
- Backend: QNA Backend
- Audio Questions: Users can listen to audio questions, providing an interactive experience.
- Question Management: Users can manage questions, including adding and deleting them.
- Responsive Design: The application is designed to be responsive, ensuring optimal user experience across devices.
- Frontend: React.js, Material-UI, Axios
- Backend: Node.js, Express.js, MongoDB
- Deployment: Vercel (Frontend), Vercel (Backend)
To run the application locally, follow these steps:
- Clone this repository to your local machine.
- Navigate to the
frontend
directory and runnpm install
to install dependencies. - Similarly, navigate to the
backend
directory and runnpm install
. - Create a MongoDB Atlas account and set up a cluster.
- Create a
.env
file in thebackend
directory and add your MongoDB connection URI asMONGOURL
anp port asPORT
. - Go to
/src/API/qustion.ts
infrontend
and edit thebaseUrl
tohttp://localhost:{Your Port}
- Run
npm start
in both thefrontend
andbackend
directories to start the development servers. - Access the application at
http://localhost:3000
.