/notes-app-fastapi

API for a notes web app made with FastAPI.

Primary LanguagePythonMIT LicenseMIT

Notes App FastAPI

A basic CRUD API of Notes with users JWT authentication.

Getting Started

First you need to clone this repository.

git clone https://github.com/vitostamatti/notes-app-fastapi/ 

Then cd into the notes-app-fastapi directory and run

docker compose up

If you don't have docker installed you first need to download it.

Usage

When the docker containers are running you can start playing with the app.

If you go to localhost/5050 you're going to see the pgadming app. There you can login using:

The best way to interact with the api listening on localhost/8000 is to access going to localhost/8000/docs and play around with the swagger documentation. To login as a superuser use:

  • username: admin
  • password: admin

You'll get a bearer token in theresponse and this will provide access to the rest of the endpoints.

Authors