StarMax is an ASP.NET MVC application that retrieves and displays starship data from the Star Wars API (SWAPI). It consists of two components: a backend API built with ASP.NET MVC and a frontend UI built with React. The backend API retrieves data from SWAPI, stores it in a SQL Server database, and exposes endpoints to interact with the data. The frontend UI consumes the API and displays starship information to the user.
- Retrieve starship data from SWAPI and store it in a SQL Server database
- Display starship information in a user-friendly manner using Material-UI components
- Randomly display a starship from the database on each application load
- Implement CRUD operations to manipulate starship data
- Dockerize the application for easy deployment
- .NET 6
- ASP.NET MVC
- Entity Framework Core
- MS SQL Server
- React
- Material-UI
- Docker
To get started with the StarMax application, follow these steps:
- Clone the repository:
git clone git@github.com:glitchwizard/StarMax.git
- Navigate to the project directory:
cd StarMax
- Install the necessary dependencies:
- For the backend API (StarMax_BackEnd):
dotnet restore
- For the frontend UI (StarMax_FrontEnd):
cd StarMax_FrontEnd
npm install
- Configure the database connection:
Update the connection string in the appsettings.json
file in the StarMax_BackEnd folder to point to your SQL Server database.
- Seed the database:
cd StarMax_BackEnd
dotnet ef database update
- Start the application:
- For the backend API (StarMax_BackEnd):
dotnet run
- For the frontend UI (StarMax_FrontEnd):
cd ../StarMax_FrontEnd
npm start
The backend API will be accessible at http://localhost:5000
, and the frontend UI will be accessible at http://localhost:3000
.
Contributions are welcome! If you find a bug or have a suggestion for improvement, please open an issue or submit a pull request.
This project is licensed under the MIT License.