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

https://github.com/neckerfree/schoolregistration

Application that allows the students rate the courses they are doing and perform CRUD operations to evaluate a course
https://github.com/neckerfree/schoolregistration

Last synced: about 2 months ago
JSON representation

Application that allows the students rate the courses they are doing and perform CRUD operations to evaluate a course

Awesome Lists containing this project

README

          

# πŸ“— Table of Contents

- [πŸ“– About the Project](#about-project)
- [πŸ›  Built With](#built-with)
- [Tech Stack](#tech-stack)
- [Key Features](#key-features)
- [πŸ’» Getting Started](#getting-started)
- [Setup](#setup)
- [Prerequisites](#prerequisites)
- [Install](#install)
- [Usage](#usage)
- [πŸ‘₯ Authors](#authors)
- [⭐️ Show your support](#support)
- [πŸ™ Acknowledgements](#acknowledgements)
- [❓ FAQ (OPTIONAL)](#faq)
- [πŸ“ License](#license)

# πŸ“– [School Registration]

**[School Registration]** is an application that allows the students rate the courses they are doing and perform CRUD operations to evaluate a course.

**Minimal Web Api:**

![Min Api](https://user-images.githubusercontent.com/8497300/213890418-648dc259-3910-4e32-9b5c-54a4fa01b3bb.png)

**Get Filtered Evaluations:**

![Get Filtered Evaluations](https://user-images.githubusercontent.com/8497300/213890430-d8958138-b826-4094-9f54-8659541b42bb.png)

**ASP.NET Web App:**

![Web App](https://user-images.githubusercontent.com/8497300/213890431-0e868d14-a50d-469d-ae65-015c27cbef07.png)

## πŸ›  Built With

### Tech Stack

Client

Server

Database

### Key Features

- **EF Core Database First**
- **Data Annotations**
- **Extension Methods**
- **Dependency Injection**
- **GIT Flow**

(back to top)

## πŸ’» Getting Started

To get a local copy up and running, follow these steps:

### Prerequisites

In order to run this project you need:

- Visual Studio .NET 2022 updated to use NET Core 7
- SQL Server Database

### Setup

1. Clone this repository to your desired folder:

```sh
cd my-folder
git clone https://github.com/NeckerFree/SchoolRegistration
```

2. Create the Application database in SQl Server

3. Create a new User as db_owner of this batabase

4. Modify the connection string (SchoolConnection) to point your database in the files:
```
\SR.WebApp\appsettings.json
\SR.MinApi\appsettings.json
```
### Install

Install this project with:
1. Build the solution and assure that doesn't have errors

2. Set the desired project as default
3. If require run backend and frontend at same time: in Solution Explorer, right-click the solution name and select Set Startup Project.
Change the startup project from Single startup project to Multiple startup projects. Select Start for each project’s action.

### Usage

To run the project,

Start the application (F5), the /swagger/index.html page is displayed

(back to top)

## πŸ‘₯ Authors

πŸ‘€ **Elio CortΓ©s**

- GitHub: [@NeckerFree](https://github.com/NeckerFree)
- Twitter: [@ElioCortesM](https://twitter.com/ElioCortesM)
- LinkedIn: [elionelsoncortes](https://www.linkedin.com/in/elionelsoncortes/)

(back to top)

## 🀝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](../../issues/).

(back to top)

## ⭐️ Show your support

> Write a message to encourage readers to support your project

If you like this project please start my project

(back to top)

## ❓ FAQ (OPTIONAL)

> - **What command are required to Scaffold from Scratch a DB First?**

- Run next commands:
```
dotnet add SR.DataAccess package Microsoft.EntityFrameworkCore.Design
dotnet add SR.DataAccess package Microsoft.EntityFrameworkCore.SqlServer
dotnet add SR.DataAccess package Microsoft.EntityFrameworkCore.Tools
dotnet tool update --global dotnet-ef
dotnet ef dbcontext scaffold "Data Source=localhost\ELIO_SQL;Initial Catalog=[your database]; User Id=[your user];Password=[your password];Encrypt=False"
Microsoft.EntityFrameworkCore.SqlServer --project SR.DataAccess --output-dir "SR.Models\Models" --context-dir "SR.DataAccess\Data" --namespace SR.Models
--context-namespace SR.DataAccess --context SchoolContext -f --no-onconfiguring --data-annotations
dotnet tool install --global dotnet-ef
dotnet tool update --global dotnet-ef
```

(back to top)

## πŸ“ License

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._

(back to top)