This originally created web-based application is created as a one stop platform for user to purchase different types of furniture. (Currently still in progress with more features to be added)
- Utilize Entity Framework to create a database in SQL Server (🚧)
- Develop CRUD functions with C# .NET 8.0 (🚧)
- Use DTOs to define the data to be included in API responses and requests. (🚧)
- Use the Repository pattern to implement data access methods. (🚧)
- Use Services to implement business logic. (🚧)
- Create a user interface with ReactJS (🚧)
- Homepage (🚧)
- Login/Register (🚧)
- Catalogue (🚧)
- Cart/Checkout (🚧)
- Login/Register page for employees and customers. (🚧)
- Catalogue page showing furniture according to categories. (🚧)
- Cart/Checkout page to add and pay for furniture. (🚧)
- Launch
backend.sln
inside theFurnitureStoreApplication/backend
folder. - Open the terminal and run the following command:
dotnet ef migrations add initial --project FurnitureStore.Data --startup-project FurnitureStore.API
- Run another command:
dotnet ef database update --project FurnitureStore.Data --startup-project FurnitureStore.API
- The database will be created in SQL Server.
- DTOs are used to define only the necessary information to be included, preventing unnecessary data from being exposed and shaping the data into a specific format.
- The Repository acts as the data access layer to interact with the database, with the interface defining the methods for data operations for encapsulating the data access logic, together with data access method to interact directly with the database.
- Services contain the business logic and call the repository for data access.