├── backend ├── db │ ├── __init__.py │ ├── base.py │ ├── repository │ │ ├── login.py │ │ ├── users.py │ │ └── jobs.py │ ├── base_class.py │ ├── models │ │ ├── users.py │ │ └── jobs.py │ └── session.py ├── .coveragerc ├── alembic │ ├── README │ ├── script.py.mako │ ├── versions │ │ └── 875b697ccea6_initial.py │ └── env.py ├── static │ ├── images │ │ ├── logo.png │ │ └── favicon.ico │ └── js │ │ └── autocomplete.js ├── templates │ ├── components │ │ ├── alerts.html │ │ ├── card.html │ │ └── navbar.html │ ├── jobs │ │ ├── homepage.html │ │ ├── detail.html │ │ ├── create_job.html │ │ ├── show_jobs_to_update_delete.html │ │ └── update_job.html │ ├── users │ │ └── users_register.html │ ├── auth │ │ └── login.html │ └── shared │ │ └── base.html ├── .env ├── schemas │ ├── users.py │ └── jobs.py ├── webapps │ ├── base.py │ ├── auth │ │ ├── forms.py │ │ └── route_login.py │ ├── users │ │ ├── forms.py │ │ └── route_users.py │ └── jobs │ │ ├── forms.py │ │ └── route_jobs.py ├── core │ ├── hashing.py │ ├── security.py │ └── config.py ├── tests │ ├── test_routes │ │ ├── test_users.py │ │ └── test_jobs.py │ ├── db │ │ └── test_jobs_repo.py │ ├── utils │ │ └── user.py │ └── conftest.py ├── apis │ ├── base.py │ ├── version1 │ │ ├── route_users.py │ │ ├── route_login.py │ │ └── route_jobs.py │ └── utils.py ├── requirements.txt ├── main.py └── alembic.ini ├── learn ├── routers │ ├── __init__.py │ ├── users.py │ ├── login.py │ └── items.py ├── .coveregerc ├── migrations │ ├── README │ ├── script.py.mako │ ├── versions │ │ └── 3da1df7e42b1_initial.py │ └── env.py ├── static │ ├── images │ │ ├── logo.png │ │ └── favicon.ico │ └── js │ │ └── autocomplete.js ├── 001_helloWorld.py ├── .env ├── requirements.txt ├── templates │ ├── card.html │ ├── item_homepage.html │ ├── item_detail.html │ ├── user_register.html │ ├── create_item.html │ ├── login.html │ ├── base.html │ ├── show_items_to_update_delete.html │ ├── update_item.html │ └── navbar.html ├── hashing.py ├── 004_docs.py ├── 005_disable_docs.py ├── schemas.py ├── database.py ├── 006_docs_url.py ├── 008_env_var.py ├── 002_helloWorld_metadata.py ├── models.py ├── 011_create_users1.py ├── config.py ├── tests │ ├── test1_userroute.py │ ├── test2_userroute.py │ ├── test_userroute.py │ ├── test_itemroute.py │ └── conftest.py ├── 007_project_config.py ├── 003_metadataTags_url.py ├── 009_connect_db.py ├── 012_test_jquery_datatbales.html.save ├── main.py ├── 010_create_users.py ├── 012_test_jquery_datatbales.html ├── webapps │ └── routers │ │ ├── users.py │ │ ├── auth.py │ │ └── items.py ├── utils.py └── alembic.ini ├── .dockerignore ├── Dockerfile ├── docker-compose.yml ├── .gitignore ├── .github └── dependabot.yml └── README.md /backend/db/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /learn/routers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /backend/.coveragerc: -------------------------------------------------------------------------------- 1 | [run] 2 | omit = tests/* 3 | -------------------------------------------------------------------------------- /learn/.coveregerc: -------------------------------------------------------------------------------- 1 | [run] 2 | omit = tests/* 3 | -------------------------------------------------------------------------------- /backend/alembic/README: -------------------------------------------------------------------------------- 1 | Generic single-database configuration. -------------------------------------------------------------------------------- /learn/migrations/README: -------------------------------------------------------------------------------- 1 | Generic single-database configuration. -------------------------------------------------------------------------------- /learn/static/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sumanshu-Nankana/FastAPI/HEAD/learn/static/images/logo.png -------------------------------------------------------------------------------- /backend/static/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sumanshu-Nankana/FastAPI/HEAD/backend/static/images/logo.png -------------------------------------------------------------------------------- /learn/static/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sumanshu-Nankana/FastAPI/HEAD/learn/static/images/favicon.ico -------------------------------------------------------------------------------- /backend/db/base.py: -------------------------------------------------------------------------------- 1 | from db.base_class import Base 2 | from db.models.jobs import Job 3 | from db.models.users import User 4 | -------------------------------------------------------------------------------- /backend/static/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sumanshu-Nankana/FastAPI/HEAD/backend/static/images/favicon.ico -------------------------------------------------------------------------------- /backend/templates/components/alerts.html: -------------------------------------------------------------------------------- 1 | {% if msg %} 2 |
Company : {{ obj.company }}
5 |Company URL : {{ obj.company_url }}
6 |Description : {{ obj.description[:40] }}
7 | Read More 8 || Title | 14 |{{item.title}} | 15 ||
|---|---|---|
| Description | 18 |{{item.description}} | 19 ||
| Date Posted | 22 |{{item.date_posted}} | 23 ||
| Owner | 26 |{{email}} | 27 ||
| Job Title | 16 |{{job.title}} | 17 ||
|---|---|---|
| Job Company | 20 |{{job.company}} | 21 ||
| Company URL | 24 |{{job.company_url}} | 25 ||
| Description | 28 |{{job.description}} | 29 ||
| Location | 32 |{{job.location}} | 33 ||