浏览代码

Initial Commit

main
Madiwka3 1年前
当前提交
10b0c33ce7
共有 5 个文件被更改,包括 23 次插入0 次删除
  1. +3
    -0
      .gitignore
  2. +0
    -0
      app/__init__.py
  3. +8
    -0
      app/main.py
  4. +11
    -0
      readme.md
  5. +1
    -0
      requirements.txt

+ 3
- 0
.gitignore 查看文件

@@ -0,0 +1,3 @@
.vscode
venv
__pycache__

+ 0
- 0
app/__init__.py 查看文件


+ 8
- 0
app/main.py 查看文件

@@ -0,0 +1,8 @@
from fastapi import FastAPI

app = FastAPI()


@app.get("/")
def root():
return {"message": "Hello World!"}

+ 11
- 0
readme.md 查看文件

@@ -0,0 +1,11 @@
#VMS Backend

**goals to be met**:
<ul>
<li> Create and set up main database on a PostgreSQL server</li>
<li> Set up basic GET requests for Users, Vehicles, Assignments </li>
<li> Set up POST requests for Users, Vehicles, Assignments </li>
<li> Add token/cookie(?) authentication </li>
</ul>

#Let's keep updating this readme.md file as we complete our tasks

+ 1
- 0
requirements.txt 查看文件

@@ -0,0 +1 @@
fastapi[all]

正在加载...
取消
保存