Skip to content

Aikido training journal with schedule, accounting of students and their attached payment-receipts

Notifications You must be signed in to change notification settings

AnTaif/trainer-journal-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trainer-journal-backend

Link to the frontend project

Developed for the UrFu Project-Practice 2024 (5th semester)

Getting Started

  1. Clone the repository:
git clone https://github.com/AnTaif/trainer-journal-backend
  1. Navigate to the project directory:
cd trainer-journal-backend
  1. Create .env file by following .env.example
  2. Build and run the application using Docker Compose:
docker-compose up -d

Once the api is running, you can access it at http://localhost:8080 or swagger docs at http://localhost:8080/swagger To stop the application and remove the containers, run:

docker-compose down

Migrations:

  1. Navigate to the Infrastructure project:
cd src/TrainerJournal.Infrastructure
  1. Make changes to db models and add migration:
dotnet ef migrations add <Name> -s ../TrainerJournal.API
  1. Update database:
dotnet ef database update -s ../TrainerJournal.API

About

Aikido training journal with schedule, accounting of students and their attached payment-receipts

Topics

Resources

Stars

Watchers

Forks