Project Name: Micro-learning AI-Powered Platform
Description:
This project builds an AI-powered microlearning platform leveraging FastAPI (Python backend), Node.js (frontend), and Hugging Face Transformers for NLP functionalities. It provides students and professionals with a personalized learning experience through concise, engaging content, and intelligent recommendations.
Prerequisites:
- Python 3.x (https://www.python.org/downloads/)
- Node.js and npm (or yarn) (https://nodejs.org/)
- Git version control (https://git-scm.com/)
Installation:
-
Clone the repository:
git clone https://github.com/Roshk01/Microlearning.git
-
Navigate to the project directory:
cd micro_fastapi
-
Create a virtual environment (recommended):
python -m venv venv source .venv/bin/activate # Linux/macOS .venv\Scripts\activate # Windows
-
Install backend dependencies:
pip install fastapi uvicorn[standard] transformers[all] # Additional dependencies for Hugging Face models
-
Install frontend dependencies (assuming a React frontend):
cd ui-master # Navigate to your frontend directory npm install # or yarn install
Running the Project:
1. Backend (API):
-
Start the development server:
uvicorn app:app --reload # Adjust "app:app" if your app module is named differently
-
Access the API:
Open http://localhost:8000/docs in your web browser to explore the API documentation (OpenAPI/Swagger).
micro1.mp4
2. Frontend:
-
Start the development server:
cd ui-master # Navigate back to your frontend directory npm run dev # or yarn dev
-
Access the frontend:
Open http://localhost:3000 in your web browser to experience the user interface.
micro3.mp4
Fetching Processes:
The specific fetching processes will depend on your backend API design and front-end implementation. Here's a general outline:
Backend:
- Define routes for API endpoints (e.g.,
/recommended-content
,/get-content-summary
) - Implement logic to retrieve and process data using FastAPI and transformers
- Return JSON responses with relevant content and potentially AI-generated summaries
micro2.mp4
Frontend:
- Integrate with the backend API using appropriate HTTP client libraries (e.g., Axios in React)
- Make API calls to fetch data based on user interactions and display relevant content
- Optionally, display summaries generated at the backend or implement client-side summarization using transformers
micro4.mp4
Deployment:
(Instructions will vary depending on your chosen deployment platform)
- Build your backend application (if applicable).
- Build your frontend application.
- Push both codebases to your GitHub repository.
- Configure your deployment platform (e.g., Heroku, AWS) to serve your backend and frontend applications.