Skip to content

NitroDevs/FShopOnWeb

Repository files navigation

FShopOnWeb

F# take on eShopOnWeb ASP.NET Core sample application.

Icons, Banners, and Emotes

Stats

Contributor Socials

Follow @KyleMcMaster Follow @seangwright

Build / Run

Application

This project requires two steps to run the application successfully. The first step is to run the npm: start VS Code task to compile the SCSS styles. This can be done from VS Code by pressing ctrl+p, typing task, and selecting npm: run from the list. This will run npm install before executing. The second step is to run the dotnet: watch VS Code task by pressing ctrl+p, typing task, and selecting dotnet: watch from the list. This will run the application which can be accessed at https://localhost:7055.

An example of getting started can be shown below:

Getting Started

Database

Once the application starts (in Development mode) it seeds a SQLite database located at ~\App_Data\FShopOnWeb.sqlite. The database is recreated every time the application starts.

To interact with this database directly, you can install the VS Code SQLite extension and use it to open the database after it is created, using the SQLite: Open Database command from the command palette (ctrl+shift+p).

Open Database

This will add the SQLite Explorer tray under the File Explorer where you can initiate SQL queries or explore the database schema.

SQLite Explorer

Related Projects and Inspiration