This is the repository of a modular monolith for the fictitious application "StreamFlow" from the subject "Arquitectura de Sistemas" at the Universidad Católica del Norte. All the necessary tools and commands to run the project are described below.
- .NET SDK (version 9.0.4)
- MySQL (version 8.0.29)
- PostgreSQL (version 15.6.0)
- MariaDB (version 10.7.4)
- MongoDB (version 5.0.3)
- Git (version 2.49.0)
- Clone the repository
git clone https://github.com/NachoXx25/Monolito-Modular.git- Navigate to the project directory
cd Monolito-Modular- Restore project dependencies
dotnet restore- Create a
.envfile on the root of the project and fill the environment variables
cp .env.example .envIn the .env file, replace:
your_jwt_secret_keywith your JWT secret keyyour_dbwith the name of each database (except for MongoDB)your_user,your_passwordwith the credentials for each databasemysql_port,mariadb_port,postgresql_port,mongodb_portwith the port for each databaseyour_mongodb_db_namewith your MongoDB database name
Once you have replaced everything, save the changes and move on to the next step.
- Run the project
dotnet runThe server will start on port 5024 and the seeders will be created automatically. Access the API via http://localhost:5024.
As mentioned in the previous section, the seeders are loaded automatically with the dotnet run command.
The seeder contains:
- 152 users (150 randomly generated and 2 identified users, administrator and customer respectively). This data will be added to the Auth, User and Bill contexts.
- 350 bills
- 451 videos (450 randomly generated and 1 identified test video)