Pārlūkot izejas kodu

Initial Commit

main
Madiwka3 pirms 1 gada
revīzija
10b0c33ce7
5 mainītis faili ar 23 papildinājumiem un 0 dzēšanām
  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 Parādīt failu

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

+ 0
- 0
app/__init__.py Parādīt failu


+ 8
- 0
app/main.py Parādīt failu

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

app = FastAPI()


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

+ 11
- 0
readme.md Parādīt failu

@@ -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 Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt