https://github.com/vcjpierre/solar-coffee
Web app using .NET Core, Vue.js and PostgreSQL
https://github.com/vcjpierre/solar-coffee
entity-framework-core netcore postgresql vue
Last synced: 3 months ago
JSON representation
Web app using .NET Core, Vue.js and PostgreSQL
- Host: GitHub
- URL: https://github.com/vcjpierre/solar-coffee
- Owner: vcjpierre
- Created: 2020-06-16T22:50:31.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-13T05:34:54.000Z (over 2 years ago)
- Last Synced: 2025-01-27T06:19:54.661Z (5 months ago)
- Topics: entity-framework-core, netcore, postgresql, vue
- Language: C#
- Homepage:
- Size: 2.56 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SolarCoffee
Web application for a coffee roaster called Solar Coffee using .NET Core, Vue and PostgreSQL.
![]()
## About 🧐
- REST API development with .NET Core
- Front-End development with Vue.js with TypeScript
- Using SQL with a PostgreSQL database
- Unit testing with Jest, xUnit
- End-to-end testing with Cypress
## Requeriments
- [Docker](https://www.docker.com/get-started) (Optional)
- [.NET Core](https://dotnet.microsoft.com/download/dotnet/3.1)
- [Vue.js](https://vuejs.org/v2/guide/)
- [PostgreSQL](https://www.postgresql.org/)## Getting started 🚀
### Backend
Create PostgreSQL database:
```
docker-compose up
```Build the project:
```
dotnet build
```Run all migrations:
```
cd SolarCoffee.Data/
dotnet ef --startup-project ../SolarCoffee.Api database update
```Run API project
```
cd SolarCoffee.Api/
dotnet run
```Then go to http://localhost:5001/api/products
### Frontend
Install dependencies and run the application:
```
cd SolarCoffe.Frontend/
yarn
yarn serve
```Then navigate to http://localhost:8080/