Tech Otakus Save The World
$MiHoYo$
💡 The idea is to create an anime encyclopedia (database).
This includes anime TV series, feature films, and manga. The goal is to create a convenient API for quickly viewing the information you need. The project was inspired by sites such as shikimori.one, MyAnimeList, AniDB etc.
- Class diagram with all relations between entities
- Minimum 6 models a. model inheritance b. abstract model
- Minimum 4 model Manager
- Minimum 6 relations between models (ForeignKey)
- JWT Auth, Profile
- Serializer
- a. at least 2 from serializer.Serializer
- b. at least 2 serializer from serializer.ModelSerializer
- c. at least 4 Serializer inheritance
- d. at least 6 validations
- e. Nested serializer
- Views
- a. at least 2 FBV view
- b. at least 4 CBV APIView
- c. at least 6 ViewSet
- d. File Upload views
- Django Signals - at least 4 usage
- Logging module for each app
- Well structured Postman requests with all implemented methods
- a. separated by Folders
- b. using Environment variables (ex: token)
- Install
virtualvenv
if you don't have it
$ pip install virtualenv
- Create virtualenv
$ virtualenv .venv
- Activate virtualenv
$ source .venv/bin/activate
- Then can install all the required dependencies:
$ cd Weebnet
$ pip install -r requirements.txt
To start the backend django server run
python manage.py runserver
From the Weebnet
folder. Server will be running on http://localhost:8000/
🚀 There can be models with which you can make **CRUD** operations like:
- Anime
- Manga
- Ranobe
- Genres
- User
- Comments
👘 This is just predicted example of GET
request via Postman
🐘 Did you really name your son Okabe; DROP TABLE users;
PostgreSQL has been designed to reliably store your most valuable asset – your data.
- Benefits of PostgreSQL
- Open Source
- Reduce Costs
- Security
- Scalability
🦉 Corrects endpoints always better than incorrect endpoints
Endpoint | Description |
---|---|
GET /api/anime/ | List of all anime |
GET /api/anime/:id/ | Show an anime by id |
GET /api/characters/search/ | Search characters |
GET /api/users/ | List users |
POST /api/anime/:id/comments/ | Create a comment |
🚢 There are many cloud computing services: DigitalOcean, Microsoft Azure, AWS, etc...
If I will have enough time I would deploy my backend API on some cloud server. I think it should be good practice for me as backend developer.
🔚 If you've read this far, I feel sorry for you.
Let’s summarize. The report has described the Django project “Weebnet”. And maybe (who knows?) one day such an application as "Weebnet" will really appear in the world and will unite all weeb people around the world! Thank you for your attention.
This repository is released under the MIT license. In short, this means you are free to use this software in any personal, open-source or commercial projects. Attribution is optional but appreciated.
let sanzhar = {
pronouns: "He" | "Him",
code: ["Python", "C#", "Java", "Golang"],
askMeAbout: ["backend dev", "student", "anime"],
technologies: {
mobileApp: ["Kotlin"],
frontEnd: {
js: ["Angular"],
css,
html,
},
backEnd: {
Golang,
Python: ["Django", "FastAPI"],
},
devOps: ["Docker🐳"],
databases: ["mongoDB", "PSQL"],
deploy: ["DigitalOcean", "AWS", "Azure", "Oracle"]
},
currentProject: "Weebdev 🍡",
funFact: "I am not funny",
};