https://github.com/CWKrahtz/elementium-backend.git
-
Clone the repository:
git clone https://github.com/CWKrahtz/elementium-backend.git
-
Navigate to the project directory:
cd elementium-backend
-
Restore the .NET dependencies:
dotnet restore
-
Set up your database (if possible). Ensure the connection string in
appsettings.json
is correct:"ConnectionStrings": { "DefaultConnection": "Server=your_server;Database=your_db;User Id=your_user;Password=your_password;" }
-
Create Migration
dotnet ef migrations add MigrationName
-
Apply any pending migrations:
dotnet ef database update
To run the application locally, use the following command:
dotnet run
The API should now be running at `https://localhost:5001` or `http://localhost:5000 for HTTP`.
This project uses Swagger for API documentation. Once the application is running, you can access the Swagger UI by navigating to:
https://localhost:5001/swagger
Please refer to This Repository for the Frontend
The Swagger UI provides a web-based interface to explore and interact with the API endpoints.
If you'd like to contribute to this project, please fork the repository and submit a pull request. For major changes, please open an issue first to discuss what you would like to change.
-
Fork the Project
-
Fork the Project
git checkout -b feature/AmazingFeature
-
Commit your Changes
git commit -m 'Add some AmazingFeature'
-
Push to the Branch
git push origin feature/AmazingFeature
-
Open a Pull Request
This project is licensed under the MIT License