Update README.md

This commit is contained in:
Joey Yakimowich-Payne 2023-08-09 09:57:20 -06:00 committed by Joey Yakimowich-Payne
commit ee0c89cfcf
No known key found for this signature in database
GPG key ID: 6BFE655FA5ABD1E1

View file

@ -17,7 +17,7 @@ This is a hybrid Next.js + Python app that uses Next.js as the frontend and Fast
The Python/FastAPI server is mapped into to Next.js app under `/api/`.
This is implemented using [`next.config.js` rewrites](https://github.com/digitros/nextjs-fastapi/blob/main/next.config.js) to map any request to `/api/:path*` to the FastAPI API, which is hosted in the `/api` folder.
This is implemented using [`next.config.js` rewrites](https://github.com/jyapayne/nextjs-fastapi/blob/main/next.config.js) to map any request to `/api/:path*` to the FastAPI API, which is hosted in the `/api` folder.
On localhost, the rewrite will be made to the `127.0.0.1:8000` port, which is where the FastAPI server is running.
@ -31,14 +31,14 @@ https://nextjs-fastapi-starter.vercel.app/
You can clone & deploy it to Vercel with one click:
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fdigitros%2Fnextjs-fastapi%2Ftree%2Fmain)
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fjyapayne%2Fnextjs-fastapi%2Ftree%2Fmain)
## Developing Locally
You can clone & create this repo with the following command
```bash
npx create-next-app nextjs-fastapi --example "https://github.com/digitros/nextjs-fastapi"
npx create-next-app nextjs-fastapi --example "https://github.com/jyapayne/nextjs-fastapi"
```
## Getting Started