Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neckerfree/crud-microservice
Validation project of the main components used in a microservices architecture
https://github.com/neckerfree/crud-microservice
Last synced: 1 day ago
JSON representation
Validation project of the main components used in a microservices architecture
- Host: GitHub
- URL: https://github.com/neckerfree/crud-microservice
- Owner: NeckerFree
- Created: 2024-08-26T22:35:26.000Z (3 months ago)
- Default Branch: dev
- Last Pushed: 2024-09-18T02:57:14.000Z (2 months ago)
- Last Synced: 2024-09-19T05:15:58.653Z (about 2 months ago)
- Language: C#
- Size: 2.93 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Microverse README Template
# 📗 Table of Contents
- [📖 About the Project](#about-project)
- [🛠 Built With](#built-with)
- [Tech Stack](#tech-stack)
- [Key Features](#key-features)
- [🚀 Live Demo](#live-demo)
- [💻 Getting Started](#getting-started)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Install](#install)
- [Usage](#usage)
- [Run tests](#run-tests)
- [Deployment](#deployment)
- [👥 Authors](#authors)
- [🔭 Future Features](#future-features)
- [🤝 Contributing](#contributing)
- [⭐️ Show your support](#support)
- [🙏 Acknowledgements](#acknowledgements)
- [❓ FAQ (OPTIONAL)](#faq)
- [📝 License](#license)> Describe your project in 1 or 2 sentences.
**[your_project__name]** is a...
> Describe the tech stack and include only the relevant sections that apply to your project.
Client
Server
Database
> Describe between 1-3 key features of the application.
- **[key_feature_1]**
- **[key_feature_2]**
- **[key_feature_3]**
> Add a link to your deployed project.
- [Live Demo Link](https://google.com)
> Describe how a new developer could make use of your project.
To get a local copy up and running, follow these steps.
### Prerequisites
In order to run this project you need:
### Setup
Clone this repository to your desired folder:
### Install
Install this project with:
### Usage
To run the project, execute the following command:
### Run tests
To run tests, run the following command:
### Deployment
You can deploy this project using:
> Mention all of the collaborators of this project.
👤 **Author1**
- GitHub: [@githubhandle](https://github.com/githubhandle)
- Twitter: [@twitterhandle](https://twitter.com/twitterhandle)
- LinkedIn: [LinkedIn](https://linkedin.com/in/linkedinhandle)
👤 **Author2**
- GitHub: [@githubhandle](https://github.com/githubhandle)
- Twitter: [@twitterhandle](https://twitter.com/twitterhandle)
- LinkedIn: [LinkedIn](https://linkedin.com/in/linkedinhandle)
> Describe 1 - 3 features you will add to the project.
- [ ] **[new_feature_1]**
- [ ] **[new_feature_2]**
- [ ] **[new_feature_3]**
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
> Write a message to encourage readers to support your project
If you like this project...
> Give credit to everyone who inspired your codebase.
This project is inspired in the [Microsoft DataDrivenCrudMicroservicebArticle] (https://learn.microsoft.com/en-us/dotnet/architecture/microservices/multi-container-microservice-net-applications/data-driven-crud-microservice)
> Add at least 2 questions new developers would ask when they decide to use your project.
- **[What command are required to Create SQL Server DB using Code First?]**
- [Run next commands:
dotnet add Inventory.DataModel package Microsoft.EntityFrameworkCore.Design
dotnet add Inventory.DataModel package Microsoft.EntityFrameworkCore.SqlServer
dotnet add Inventory.DataModel package Microsoft.EntityFrameworkCore.Tools
dotnet tool update --global dotnet-ef
dotnet ef migrations add InitialCreate --project Inventory.DataModel
dotnet ef database update --project Inventory.DataModel
dotnet ef migrations remove --project Inventory.DataModel
]
dotnet tool install --global dotnet-ef
dotnet ef migrations add InitialCreate --project Inventory.AuthManagement
dotnet ef database update --project Inventory.AuthManagement
- **[Question_2]**
- [Answer_2]
This project is [MIT](./LICENSE) licensed.
_NOTE: we recommend using the [MIT license](https://choosealicense.com/licenses/mit/) - you can set it up quickly by [using templates available on GitHub](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). You can also use [any other license](https://choosealicense.com/licenses/) if you wish._
Run dockerfile as userauth:
docker build -t userauth .
docker run -p 8083:80 -e ASPNETCORE_URLS="http://+:80" userauth
docker run -p 8083:80 -e ASPNETCORE_URLS="http://+:80" -e ConnectionStrings__DefaultConnection="Data Source=localhost,1433;Initial Catalog=AuthDb; User Id=AppUser;Password=AppPwd;Encrypt=False" userauth
RabbitMQ: https://dotnetdocs.ir/Post/43/implementing-rabbitmq-in-net-core