/simple-search-engine

A simple search engine written in Angular and Flask, using gensim to calculate Tfidf and cosine similarity

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

simple-search-engine

Requirements

  • Python 3.9 or newer
  • Nodejs

Building

For backend,

cd backend
# Set up environment
pip install -r requirements.txt
python -m spacy download en_core_web_sm

# run backend server
flask run

For frontend,

cd frontend
npm install
npm start ng serve --open

You should see the web application at http://localhost:4200.

References

The frontend Angular application is modified from AldoHub/angular-search-engine. Thanks a lot.