SarvagyaVaish / raft-example-on-web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frontend

Creating a Vue project with Vite

cd frontend
npm create vite@latest __app_name__
cd __app_name__

Add Tailwind

  • Follow Step 2 onwards here
  • Replace contents of style.css with the @tailwind directives

Component libraries

Template libraries

Icons

Plugins

Backend

cd backend
touch requirements.txt

Create a virtual environment

pyenv virtualenv 3.10 __app_name__
pyenv local __app_name__

Install FastAPI

  • Add uvicorn[standard] fastapi to requirements.txt
pip install -r requirements.txt
  • Create a main.py file. Follow steps here
  • Add CORS middleware. Folow steps here

About


Languages

Language:Python 41.0%Language:Vue 32.5%Language:Dockerfile 15.6%Language:JavaScript 7.3%Language:HTML 3.2%Language:CSS 0.5%