Bläddra i källkod

Initial Commit

main
Madiwka3 1 år sedan
incheckning
10b0c33ce7
5 ändrade filer med 23 tillägg och 0 borttagningar
  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 Visa fil

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

+ 0
- 0
app/__init__.py Visa fil


+ 8
- 0
app/main.py Visa fil

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

app = FastAPI()


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

+ 11
- 0
readme.md Visa fil

@@ -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 Visa fil

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

Laddar…
Avbryt
Spara