An open API service indexing awesome lists of open source software.

https://github.com/chicacode/documentsapi

Web API created with ASP.NET Core
https://github.com/chicacode/documentsapi

Last synced: over 1 year ago
JSON representation

Web API created with ASP.NET Core

Awesome Lists containing this project

README

          

# DocumentsAPI

DocumentsAPI is a .NET Core API for dealing with application to visualize documents Web Application for Test Purpose.
This allows to perform a CRUD of various types of documents, persisting the database in SQL Server.

#Basic CRUD created in DotNet and Angular 10
Allows to Add documents, list them, see the detail and delete them. Update method is in -backend, but not applied in Frontend
Include a filter by type doc and pagination

Model Data Document with properties Id, Type (enum), Title, Date, Text and Image as string

## Installation

1. Clone the repo
https://github.com/chicacode/DocumentsAPI.git

2. Install Dependencies from Nuget Package

## Use the package manager Nuget to install:
* EntityFrameworkCore.Sqlite
* EntityFrameworkCore.Sqlserver
* EntityFrameworkCore.Tools

3. Migrate Database
## Usage
```ASP.NET Core
Use Documents API
for CRUD Purpose Signaturit API Frontend Test
Methods
// GET: api/Documents
https://localhost:44306/api/documents

// GET: api/Documents/5

// PUT: api/Documents/5

// POST: api/Documents

// Delete

DataBase Persistance in SQL Server through Connection string DocumentsAPIContext
```

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License
[MIT](https://choosealicense.com/licenses/mit/)

## Contact
Geraldine Hernandez Al Attrach