Acme BookStore is a boilerplate application generated using the ABP.IO platform. It is a bookstore management system built with .NET 7 and PostgreSQL. The repository contains the following main projects:
- Acme.BookStore.Web: This is the main front-end application.
- Acme.BookStore.DbMigrator: This is a DB migrator used to apply migrations. It should be run once before running the actual application.
- Acme.BookStore.HttpApi.Host: This is the API host.
- .NET 7.0 SDK
- PostgreSQL
- Node.js and Yarn package manager
Follow these steps to get the application up and running:
-
Clone the repository
Use the following command to clone the repository:
git clone https://github.com/Promact/Bookstore.git
-
Navigate to the Web project directory
cd Bookstore/Acme.BookStore.Web
-
Restore client-side packages
Run the following command to restore the client-side packages:
yarn
-
Update the database connection string
Update the connection string in the
appsettings.json
file in theAcme.BookStore.Web
project to match your PostgreSQL database. -
Run the DB Migrator
Navigate to the
Acme.BookStore.DbMigrator
directory and run the following command:dotnet run
-
Run the API host
Navigate to the
Acme.BookStore.HttpApi.Host
directory and run the following command:dotnet run
-
Run the Web project
Navigate back to the
Acme.BookStore.Web
directory and run the following command:dotnet run
After following these steps, navigate to https://localhost:5001
in your web browser to view the application.
We welcome any contributions to the Acme BookStore. Please read our CONTRIBUTING.md for guidelines on how to contribute.
This project is licensed under the MIT License - see the LICENSE.md file for details.