|
|
|
Create a simple RESTful API using FastAPI for a social networking application
- There should be some form of authentication and registration (JWT, Oauth, Oauth 2.0, etc..)
- As a user I need to be able to signup and login
- As a user I need to be able to create, edit, delete and view posts
- As a user I can like or dislike other users’ posts but not my own
- The API needs a UI Documentation (Swagger/ReDoc)
fastapi==0.100.0
fastapi-users==12.0.0
fastapi-cache2==0.2.1
SQLAlchemy==2.0.18
alembic==1.11.1
celery==5.3.1
redis==4.6.0
pytest==7.4.0
pytest-asyncio==0.21.0
- The project runs in Docker containers whose image is pushed in DockerHub.
- Clone the repository to the local computer;
- Create the /infra/.env file. The template to populate the file is in /infra/.env.example;
- In the infra folder, run the
docker compose up -d --buildcommand;
http://localhost:8000/docs
Borokin Andrey
GITHUB: exp-ext


