dozed / fastapi-react-project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frontend

Run development server

npm start

Run tests

npm run test

Build frontend

npm run build

Installation of Node.js modules

npm install

Backend

Start development server

conda activate fastapi-react-project
python main.py

Run mypy

mypy **/*.py

Installation of Conda environment

conda env create -f env.yml

Update of Conda environment

conda env update -f env.yml

IntelliJ configuration

Mark backend directory as source:

  • Right-click backend directory
  • Mark directory as -> Sources Root

Configure ESLint:

  • Go To: Settings -> Languages & Frameworks -> JavaScript -> Code Quality Tools -> ESLint
  • Activate: "Manual ESLint configuration"
  • Select ESLint package: Detect package and configuration file from the nearest package.json
  • Run for files: {**/*,*}.{js,ts,jsx,tsx,html,vue}
  • Activate: "Run eslint --fix on save"

About


Languages

Language:TypeScript 71.1%Language:JavaScript 16.6%Language:Python 10.1%Language:HTML 1.4%Language:SCSS 0.8%