An open API service indexing awesome lists of open source software.

https://github.com/nkilm/create-react-flask

template for projects with ReactJS as frontend and Flask as backend.
https://github.com/nkilm/create-react-flask

hacktoberfest ml npx react-flask

Last synced: 25 days ago
JSON representation

template for projects with ReactJS as frontend and Flask as backend.

Awesome Lists containing this project

README

          

# Create React Flask
```bash
npx create-react-flask my-app
```
# Usage

`NOTE: First run server i.e, main.py`

## Backend

#### If you have `git bash` on Windows machine, you can directly run `bash init-server.sh`
- Create virtual environment for python
```bash
cd backend-flask
```
```bash
pip install -r requirements.txt
```

- Start server
```bash
python main.py
```

## Frontend
- cd to `root directory` then execute the below commands
```bash
npm install
```
```bash
npm run start
```

## Visuals
- Success Response
---
![success-response](https://drive.google.com/uc?export=view&id=1D0MaekLX_95IaVhgcpjwXiJBJkHsAeDf)

- Error response
---
![success-response](https://drive.google.com/uc?export=view&id=1VE719IETDLiIvu0e1EX98vZWvh7yWwfV)