Skip to content

mariacarolinaboabaid/rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

💻 Project

REST API for school management.

The project was developed as the final project of the first module of the Professionalizing course in Full Stack development.

Technologies

List of technologies used in the project:

Abstraction methodology applied for development:

  • 1. Packages installation
  • 2. Base Class declaration
  • 3. Models creation
  • 4. Context creation
  • 4.1. Dependency injection
  • 4.2. Connection String configuration
  • 5. Fluent API configuration
  • 5.1. Initial data insert
  • 6. Migrations perform
  • 7. Data Transfer Objects creation
  • 8. Interfaces creation
  • 8.1. Repositories creation
  • 8.2. Controllers creation
  • 9. Fluent Validation configuration
  • 9.1. Dependency injection
  • 10. Database update
  • 11. Commit

Running the project

  1. Clone the repository:
$ git clone https://github.com/mariacarolinaboabaid/API-REST
$ cd API-REST
  1. Change the path at the Connection String in the appsettings.Development.json file to the path of your local folder:
 "ConnectionStrings": {
    "LabSchoolContext" : "Data Source=/yourlocalpath/labschoolbd.db;"
  } 
  1. Install the following packages by running the commands:
 dotnet add package Microsoft.EntityFrameworkCore  

 dotnet add package Microsoft.EntityFrameworkCore.Tools 
 
 dotnet add package Microsoft.EntityFrameworkCore.Design

 dotnet add package Microsoft.EntityFrameworkCore.Sqlite
  1. Run the command:
 dotnet run

The API will be available at http://localhost:5127/swagger.

About

💻 REST API - School management.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages