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
- Host: GitHub
- URL: https://github.com/chicacode/documentsapi
- Owner: chicacode
- Created: 2020-12-01T13:08:44.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-06T18:25:44.000Z (over 5 years ago)
- Last Synced: 2025-01-22T07:33:20.238Z (over 1 year ago)
- Language: C#
- Size: 28.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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