https://github.com/fasilofficial/fasilofficial
https://github.com/fasilofficial/fasilofficial
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/fasilofficial/fasilofficial
- Owner: fasilofficial
- Created: 2022-12-27T12:19:17.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-07T17:38:16.000Z (about 2 months ago)
- Last Synced: 2025-03-07T18:32:49.003Z (about 2 months ago)
- Size: 64.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Hey
, I'm Fasil
DEVELOPER. PHOTOGRAPHER. CINEPHILE.
```python
from fastapi import FastAPI
from fastapi.responses import JSONResponseapp = FastAPI()
@app.get("/about")
async def about():
return JSONResponse(content={
"fullName": "Muhammed Fasil K",
"interests": ["coding", "movies", "music", "travel"],
"skills": ["ReactJS", "Node.js", "Laravel", "Python", "SQL", "NoSQL", "FasilAPI"]
})@app.get("/contact")
async def contact():
return JSONResponse(content={
"email": "[email protected]",
"portfolio": "https://mfasil.vercel.app"
})@app.exception_handler(404)
async def not_found(request, exc):
return JSONResponse(content={"message": "Route not found"}, status_code=404)```