This is a website for a used starship dealership. It allows users to view the current inventory, add new ships to the inventory, and edit or delete existing ships. It also allows users to view the details of each ship, including the ship's name, manufacturer, model, price, and description.
- Visual Studio 2022 - makes it easier to run after cloning
- SQL Server Management Studio (optional)
- Clone this repository to your desktop
- Navigate to StarMaxApp folder after
- run
make init
- Visual Studio (NOT VS Code!) should open at the end of the the init sequence
- Click the dropdown on the Start button in Visual Studio and select
Configure Startup Projects
- Select
Multiple startup projects:
and set the action toStart
for both.
- Click
Apply
, thenOK
, closing the dialog box.
- Clone this repository to your desktop
- Navigate to StarMaxApp folder
- Run
docker-compose up -d db
to start the MSSQL DB - Navigate to
StarMax_BackEnd
and rundotnet restore
- Navigate to
StarMax_FrontEnd
and runnpm install
- Navigate back to
StarMax_BackEnd
and rundotnet dotnet-ef database update
- if you have Entity Framework Core CLI installed globally, you can run
dotnet ef database update
- if you have Entity Framework Core CLI installed globally, you can run
- If you have Visual Studio, follow steps 5, 6 and 7 in the section above to set the
Startup
config
- Navigate to the project root folder
StarMaxApp
and openStarMaxApp.sln
- Press the
Start
button at the top of Visual Studio and happy starshipping!
- Navigate to the project root folder
StarMaxApp
- Verify the MSSQL docker container is up and running, if not run
docker-compose up -d db
- You'll need two terminals open
- In the first terminal, navigate to
StarMax_BackEnd
and rundotnet run
. This starts the API.- Note: You'll need internet because the back end makes a call to
swapi.dev
to get the starship list and seed the database.
- Note: You'll need internet because the back end makes a call to
- In the second terminal, navigate to
StarMax_FrontEnd
and runnpm start
. This will start the front end.
- No known bugs at this time
- Please contact me if you find any bugs or have suggestions
- Contact me at: glitchwizard@gmail.com
- C#
- ASP.NET Core MVC
- Entity Framework Core
- MSSQL
- HTML
- CSS
- Bootstrap
- JavaScript
- React
- This project is licensed under the MIT License
- © 2023 Charley McGowan
Charley McGowan glitchwizard@gmail.com