/yaat-react-example

Yaat backend with React frontend example

Primary LanguageJavaScript

yaat-logo react-logo

This repository is the example of Yaat server used with Reactjs for frontend.

Getting Started

First clone this repository, then install dependencies.

pip3 install -r requirements.txt
npm install

Running Server & React Application

By default, it comes with uvicorn to run Yaat server. For React application, it is setup with babel and I have also configured npm comments to build and run application.

uvicorn src.app:app --reload
npm run dev

npm run dev will auto rebuild your React application when code changes. You can also run npm run build to build the application instead.

Now open http://localhost:8000 to see your React app.

screenshot