/duckling_aleatory_cats_backend

Backend made for Duckling Aleatory Cats FrontEnd, its cointains all services and database structure for making that presentation layer work.

Primary LanguageC#Apache License 2.0Apache-2.0

๐Ÿฑ Duckling Aleatory Cats Backend ๐Ÿฑ

Developed by ๐Ÿ’ป:

Special thanks to ๐Ÿฅฐ:

  • Edson Mota - Our supervising professor, your experience and knowledge have been invaluable to our progress.

About ๐Ÿค”:

This repository contains the backend made for Duckling Aleatory Cats FrontEnd application, its cointains all services, business logic and database structure for making that presentation layer work. It is responsible for log in and sign in feature, storing all images from the user and intermediates all images from NASA API and the FrontEnd. We also used Cat API, to get access to aleatory cats.

Resourses ๐Ÿง‘โ€๐Ÿ”ฌ:

  • Save your favorite cats in database, by storing images ids, description and title.
  • Sign in and log in your user.
  • Pull images from Cat API.

Routes ๐Ÿ›ฃ๏ธ:

Every Route from the API can be found in swagger.

  • POST - /PostCat;
  • GET - /GetRandCat;
  • GET - /GetCatsFromUser/{id};
  • POST - /PostUser;
  • POST - /CheckLogin;

Dependencies ๐Ÿšš:

In summary, heres what you're gonna need in order to run the project:

  • Swashbuckle.AspCore 6.2.3.
  • entityframeworkcore 7.0.5.
  • entityframeworkcore.SqlServer 7.0.5.
  • entityframeworkcore.Tools 7.0.5.

For installing dependencies more quickly, you can use Visual Studio to download automatically your dependencies.

How to run it ๐Ÿƒ:

First, clone this repository. Then, Open the project with Visual Studio, change at "duckling_aleatory_cats.DAL" layer DbSet.cs class path to your own Database.mdf and execute duckling aleatory cats services layer.

How to install ๐Ÿ”ฌ:

UMLโ€ ๐Ÿ’ฌ:

Heres the UML that represents how the application works with their classes.

Figure 1 - Duckling Aleatory Cats Backend UML.

Logic Model ๐Ÿงฎ:

Here's the logic model that represents how the code works with their classes.

Figure 2 - Logic Model.

Database ๐Ÿ—ƒ๏ธ:

Figure 3 - Relational Model Database.

Development Process โš™๏ธ:

Developers used Trello to get things organized, each one using their own branch to code, using names to identify the commit type then merginng the features into develop branch. After testing, the group update the main branch. This application was developed in 08/06/2023 until 12/06/2023.

Tools Used ๐Ÿ› ๏ธ:

How to contribute ๐Ÿซ‚:

Feel free to create a new branch, fork the project or contact one of us to develop at Duckling Aleatory Days BackEnd.

Licence ๐Ÿ“œ:

Apache V2