forked from shinokada/fastapi-web-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated to Bootstrap 5 and Python dependencies.
- Loading branch information
Showing
6 changed files
with
49 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# Fastapi Web Starter | ||
|
||
Please read the Medium article at [https://shinichiokada.medium.com/](https://shinichiokada.medium.com/) ([Building a Website Starter with FastAPI](https://levelup.gitconnected.com/building-a-website-starter-with-fastapi-92d077092864)). | ||
Updated: 2022-01-18 | ||
|
||
[Please sign up for more free resources.](https://mailchi.mp/ae9891ba897a/codewithshin) | ||
[https://shinichiokada.medium.com/](https://shinichiokada.medium.com/) ([Building a Website Starter with FastAPI](https://levelup.gitconnected.com/building-a-website-starter-with-fastapi-92d077092864)). | ||
|
||
## Overview | ||
|
||
|
@@ -25,26 +25,21 @@ This repo includes all the file and it is ready to deploy to Heroku. | |
See requirements.txt for updates. | ||
|
||
```sh | ||
- requests==2.26.0 | ||
- fastapi==0.70.0 | ||
- uvicorn==0.15.0 | ||
- python-dotenv==0.19.1 | ||
- aiofiles==0.7.0 | ||
- python-multipart==0.0.5 | ||
- jinja2==3.0.2 | ||
- Markdown==3.3.4 | ||
- pytest==6.2.5 | ||
- Pillow==8.4.0 | ||
requests==2.27.1 | ||
fastapi==0.72.0 | ||
uvicorn==0.17.0 | ||
python-dotenv==0.19.2 | ||
aiofiles==0.8.0 | ||
python-multipart==0.0.5 | ||
jinja2==3.0.3 | ||
Markdown==3.3.6 | ||
pytest==6.2.5 | ||
``` | ||
|
||
## Installation & Usage | ||
|
||
```bash | ||
$ git clone [email protected]:shinokada/fastapi-web-starter.git | ||
# Or using downloaded zip file | ||
$ unzip fastapi-web-starter.zip | ||
|
||
# change the directory | ||
$ cd fastapi-web-starter | ||
# install packages | ||
$ pip install -r requirements.txt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
requests==2.26.0 | ||
fastapi==0.70.0 | ||
uvicorn==0.15.0 | ||
python-dotenv==0.19.1 | ||
aiofiles==0.7.0 | ||
requests==2.27.1 | ||
fastapi==0.72.0 | ||
uvicorn==0.17.0 | ||
python-dotenv==0.19.2 | ||
aiofiles==0.8.0 | ||
python-multipart==0.0.5 | ||
jinja2==3.0.2 | ||
Markdown==3.3.4 | ||
jinja2==3.0.3 | ||
Markdown==3.3.6 | ||
pytest==6.2.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,9 +12,8 @@ | |
<title>{% block title %}{% endblock %} FastAPI Starter</title> | ||
<link rel="icon" href="{{ url_for('static', path='/images/favicon.ico') }}" sizes="32x32" /> | ||
|
||
<!-- Bootstrap CSS CDN --> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" | ||
integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous"> | ||
<!-- Bootstrap 5 CSS CDN --> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> | ||
<!-- Custom CSS --> | ||
<link href="{{ url_for('static', path='/css/style3.css') }}" rel="stylesheet"> | ||
<link href="{{ url_for('static', path='/css/mystyle.css') }}" rel="stylesheet"> | ||
|
@@ -51,10 +50,8 @@ | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js" | ||
integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ" | ||
crossorigin="anonymous"></script> | ||
<!-- Bootstrap JS --> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" | ||
integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" | ||
crossorigin="anonymous"></script> | ||
<!-- Bootstrap 5 JS --> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script> | ||
<!-- jQuery Custom Scroller CDN --> | ||
<script | ||
src="https://cdnjs.cloudflare.com/ajax/libs/malihu-custom-scrollbar-plugin/3.1.5/jquery.mCustomScrollbar.concat.min.js"></script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters