A web application that helps pet owners find dog training services in surrounding area.
- Front-end - React, Redux, Bootstrap
- Back-end - ASP.NET Core
- Database - SQL Server
- Node.js (v14.17.0LTS): https://nodejs.org/en/
- .NET 5.0 SDK: https://dotnet.microsoft.com/download
- Visual Studio 2019: https://visualstudio.microsoft.com/downloads/
- VSCode: https://code.visualstudio.com/
-
Clone the repo
git clone https://github.com/minhqto/pawsitive.git
-
Build and run the front-end application
cd pawsitive/ClientApp # go to front-end app folder npm install # install all the npm packages npm run start # start the application
-
Build and run the back-end
-
Method 1 (Recommended): Using Visual Studio
-
Method 2: Using dotnet commands
- Step 1: Open a terminal, navigate to the root folder of the project
./pawsitive
and rundotnet build
. This will build the project and all of its dependencies. - Step 2: After the build, run
dotnet run
to run the back-end server.
- Step 1: Open a terminal, navigate to the root folder of the project
IMPORTANT: We have to run the front-end application first, then run the back-end application.
-
Prerequisites: Docker (latest version prefered)
Step 1: Build the image
docker build -t qvnguyen/pawsitive:1.0 .
Step 2: Run the container
# Run the container in detached mode, with the name called "pawsitive_app" and map the port 80 of the container to the port 80 of the host machine.
docker run -d --name pawsitive_app -p 80:80 qvnguyen/pawsitive:1.0