This repository contains a Dockerized setup for a meeting organization application which I created during my summer internship at Alpata Yazılım ve Teknoloji which consists MSSQL Server database, an Angular frontend, and a .NET Core API.
-
Clone this repository:
git clone https://github.com/seppacar/AlpataTech-MeetingAppDemo.git cd AlpataTech-MeetingAppDemo
-
Build and run the application using Docker Compose:
docker-compose up -d
This will start the SQL Server, API, and Angular frontend in detached mode.
-
Wait for the services to fully initialize. You can check the logs for each service:
docker-compose logs -f
Wait until you see messages indicating that the services are ready.
-
Access the application:
- Frontend: Open your browser and go to http://localhost:4200
- API Swagger UI: http://localhost:5000/swagger
- API Index HTML: http://localhost:5000
-
Stop the application when you're done:
docker-compose down
-
SQL Server:
SA_PASSWORD
: Your Super Secret Password for the SQL Server.
-
API:
ASPNETCORE_ENVIRONMENT
: Set toDevelopment
for the development environment.DB_CONNECTION_STRING_PROD
: Connection string for the production database.DB_CONNECTION_STRING_DEV
: Connection string for the development database.
-
SMTP Configuration:
SMTP_SERVER
: SMTP server address for email communication.SMPT_PORT
: SMTP server port.SMTP_USERNAME
: SMTP username for authentication.SMTP_PASSWORD
: SMTP password for authentication.
-
JWT Configuration:
JWT_AUDIENCE
: Your JWT audience.JWT_ISSUER
: Your JWT issuer.JWT_SECRET
: Your at least 128-bit JWT secret.
-
Make sure ports
4200
,5000
, and1433
are not in use on your machine. -
The database will be available on
localhost:1433
, the API onlocalhost:5000
, and the frontend onlocalhost:4200
. -
The API is configured to wait for the SQL Server to be ready before starting.