glitchwizard / StarMaxApp

StarMax app, like CarMax, but for GoEngineer's space fleet.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StarMax

A used starship dealership website

Description

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.

Required Technologies

Suggested Technologies

Setup/Installation Requirements with all tech, suggested and required

  1. Clone this repository to your desktop
  2. Navigate to StarMaxApp folder after
  3. run make init
  4. Visual Studio (NOT VS Code!) should open at the end of the the init sequence
  5. Click the dropdown on the Start button in Visual Studio and select Configure Startup Projects

Dropdown Menu Example (https://imgur.com/a/rZBZP1F)

  1. Select Multiple startup projects: and set the action to Start for both.

Configure Startup Projects example (https://imgur.com/a/UbqzUYM)

  1. Click Apply, then OK, closing the dialog box.

Setup/Installation Requirements the manual way

  1. Clone this repository to your desktop
  2. Navigate to StarMaxApp folder
  3. Run docker-compose up -d db to start the MSSQL DB
  4. Navigate to StarMax_BackEnd and run dotnet restore
  5. Navigate to StarMax_FrontEnd and run npm install
  6. Navigate back to StarMax_BackEnd and run dotnet dotnet-ef database update
    • if you have Entity Framework Core CLI installed globally, you can run dotnet ef database update
  7. If you have Visual Studio, follow steps 5, 6 and 7 in the section above to set the Startup config

Running the app

With Makefile and Visual Studio IDE

  1. Navigate to the project root folder StarMaxApp and open StarMaxApp.sln
  2. Press the Start button at the top of Visual Studio and happy starshipping!

The Manual Way

  1. Navigate to the project root folder StarMaxApp
  2. Verify the MSSQL docker container is up and running, if not run docker-compose up -d db
  3. You'll need two terminals open
  4. In the first terminal, navigate to StarMax_BackEnd and run dotnet 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.
  5. In the second terminal, navigate to StarMax_FrontEnd and run npm start. This will start the front end.

Known Bugs

  • No known bugs at this time
  • Please contact me if you find any bugs or have suggestions
  • Contact me at: glitchwizard@gmail.com

Technologies Used

  • C#
  • ASP.NET Core MVC
  • Entity Framework Core
  • MSSQL
  • HTML
  • CSS
  • Bootstrap
  • JavaScript
  • React

License

  • This project is licensed under the MIT License
  • © 2023 Charley McGowan

Contact Information

Charley McGowan glitchwizard@gmail.com

About

StarMax app, like CarMax, but for GoEngineer's space fleet.


Languages

Language:JavaScript 55.3%Language:C# 40.1%Language:Makefile 1.9%Language:CSS 1.6%Language:HTML 0.8%Language:TSQL 0.3%