Nice Rice is a Linux marketplace for Linux rices. It features a clean architecture enforced back-end with a react front-end.
-
Clone the Repository
git clone https://github.com/dalentri/rice_ecommerce.git cd rice_ecommerce -
Install Frontend Dependencies
Navigate to the
frontenddirectory and install the dependencies using Bun:cd frontend bun install -
Install Backend Dependencies
Navigate to the
src/Webdirectory and restore the .NET dependencies:cd ../src/Web dotnet restore
-
Start the Frontend
Run the frontend development server with Bun from the
frontenddirectory:cd frontend bun run dev --open -
Start the Backend
Run the backend with .NET:
cd src/Web dotnet runThe application will now be available in the opened front-end http server at
http://localhost:5173.
The project includes support to scaffold new commands and queries.
Start in the .\src\Application\ folder.
Create a new command:
dotnet new ca-usecase --name CreateTodoList --feature-name TodoLists --usecase-type command --return-type int
Create a new query:
dotnet new ca-usecase -n GetTodos -fn TodoLists -ut query -rt TodosVm
## Test
The solution contains unit, integration, and functional tests.
To run the tests:
```bash
dotnet test
This project is licensed under the MIT License - see the LICENSE file for details.