Skip to content

yixin0829/lp-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Learning Path Generator

1 Goal

Help people learn faster and more efficiently to reach their learning goal. LearnAnything's mission is to facilitate the consolidation of the world's knowledge sharing by creating a place where users can share their learning experiences and knowledge with others.

2 Overview

Why did we build LearnAnything? You might ask. Well, we want you to think of LearnAnything as more than just a learning path generator, but as an entry point for YOU to begin your learning journey on any topic that you could possibly imagine. Just as Mahatma Gandhi once said, "Live as if you were to die tomorrow. Learn as if you were to live forever."

3 How to Run

3.1 Without Docker

  • BE
    • Create venv (python 3.8) and install requirements.txt
    • Development mode: cd/server/app && uvicorn main:app --reload to start the local server
      • Comment out main:27-28 and comment main:31 to get env from local .env
      • Comment out main:123-125 if want to get mock response from json for testing FE (optional)
    • In production
      • Comment out main:31 and comment main:27-28 to get env from Lambda env configuration
      • Only include main.py and lib/ in zip file (exclude .env for best practice) when upload code to Lambda
  • FE
    • Install React and Node
    • cd/client/ && npm install --force otherwise dependency error
    • Comment out LearningPath.jsx:15 to fetch data from local server
    • npm start

3.2 With Docker

  • Note: Currently no live-reload so need to rebuild image to reflect code changes
  • Developement config
    • Comment out main:27-28 and comment main:31 to get env from local .env
    • Comment out main:123-125 if to get mock response from json (optional)
    • Comment out LearningPath.jsx:15 to fetch data from local server
  • Run docker compose up --build in root directory

4 Resources

About

Learning Path Generator

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •