The goal of this repository is to provide database support for API implementation as below:
In addition, this repository provides starting point for any Developer / Team to kick-start their next microservice architecture. The Mssql database source code is maintained in this repository with Visual Studio database project. This also serves as point of reference for learning advanced concepts and implementations.
This repository showcases:
- ⚡️ Good practice table schemas
- ♨️ Good practice post deployment scripts for seeding data
- Visual Studio Database Project
- Microsoft SQL Server
- Visual Studio Community 2022
- SQL Server (for local) -- download developer edition
- SQL Server Management Studio
- Please use Visual Studio for full support.
- Make sure
Data storage and processing
workload is installed. - Open the
AzFuncBoilerplate-Db.sln
solution. - Ensure build is successfull.
- Publish the database to your local server.
- Successfully deployed.
- As part of microservice architecture, the api source code is maintained in separate repository as below:
- https://github.com/safwanmasarik/Azure-Function-Boilerplate-Api (built with Azure Function Node.js).
- An issue that may be faced is the API is unable to connect to local database at port 1443, as the db refuses the connection.
- To solve this, open the SQL Server Configuration Manager as an administrator and enable TCP connections which are disabled by default.
Has this Project helped you learn something New? or Helped you at work? Here are a few ways by which you can support.