connect_pfe is a web application built with .Net Core(C#) and ReactJS, helps to facilitate communication between students and their teachers.
Before running the web app, ensure that you have the following prerequisites installed:
or Docker.
Follow the steps below to get the web app up and running on your local machine:
- Clone this repository to your local machine using:
git clone https://github.com/PhyDevs/connect_pfe.git
. - Install the backend dependencies by running
dotnet restore src/Connect.WebAPI
. - Build the project by running
dotnet build src/Connect.WebAPI
. - Start the development server by running
dotnet run --project src/Connect.WebAPI
. - Navigate to the client project directory:
cd client
. - Install the frontend dependencies by running
npm install
oryarn install
. - Start the development server by running
npm start
. - Open your browser and visit http://localhost:3000 to view the web app.
The project follows a standard clean architecture structure:
├── /client │ ├── /src # React.js source code │ └── package.json # npm package configuration file | ├── /src # the backend source code │ ├── /Application # Contains application-specific logic and use cases │ ├── /Domain # Defines the core domain models │ ├── /Infrastructure # Implements infrastructure-related components and services │ └── /WebAPI # Contains the application Web API project │ ├── /Controllers # Controller classes │ ├── StartupConfigureMiddelwares.cs # Configure the HTTP request pipeline. │ ├── StartupConfigureServices.cs # Configures and add services to the container. │ └── appsettings.json # Configuration file for the application | └── Connect.sln # Solution file for the project
You can update the connection strings on src/Connect.WebAPI/appsettings.json
.
Enjoy!