https://github.com/poulad/futbol
Progressive Web App with Angular
https://github.com/poulad/futbol
angular aspnetcore football futbol pwa pwa-apps soccer typescript
Last synced: about 2 months ago
JSON representation
Progressive Web App with Angular
- Host: GitHub
- URL: https://github.com/poulad/futbol
- Owner: poulad
- Created: 2018-06-24T03:58:02.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-12T02:25:09.000Z (almost 8 years ago)
- Last Synced: 2025-01-30T12:47:10.423Z (over 1 year ago)
- Topics: angular, aspnetcore, football, futbol, pwa, pwa-apps, soccer, typescript
- Language: C#
- Homepage: https://pouladpld.github.io/Futbol
- Size: 1.82 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Futbol
[](https://travis-ci.org/poulad/Futbol)
A Progressive Web App with Angular and ASP.NET Core
## Getting Started
1. Install NodeJS and APS.NET Core 2.1+
```bash
# check .NET Core installation
dotnet --info
# check Angular CLI installation
ng --version
```
1. Run an instance of Postgres database.
```bash
# if using Docker, try this command
docker run --name futbol-postgres --detach --publish 5432:5432 -e POSTGRES_PASSWORD=password -e POSTGRES_USER=futbol -e POSTGRES_DB=futbol postgres:10
```
1. Start Angular app
```bash
cd src/ClientApp/
npm instal
npm start
```
1. Start ASP.NET Core app
```bash
cd src/Futbol.Web/
dotnet run
```
1. hit [http://localhost:5000](http://localhost:5000) in your browser.
## Database
Using Docker
```bash
docker run --name futbol-postgres --detach --publish 5432:5432 -e POSTGRES_PASSWORD=password -e POSTGRES_USER=futbol -e POSTGRES_DB=futbol postgres:10
# docker stop futbol-postgres
# docker start futbol-postgres
# docker rm --volumes --force futbol-postgres
```
## Deployment
### Clean up
```bash
docker rm -fv futbol_web-app futbol_postgres
sudo rm -rfv /var/futbol/
```