Skip to content

CWKrahtz/elementium-backend

Repository files navigation

Server Side Installation

https://github.com/CWKrahtz/elementium-backend.git
  1. Clone the repository:

     git clone https://github.com/CWKrahtz/elementium-backend.git
  2. Navigate to the project directory:

     cd elementium-backend
  3. Restore the .NET dependencies:

     dotnet restore
  4. 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;"
     }
  5. Create Migration

     dotnet ef migrations add MigrationName
  6. Apply any pending migrations:

     dotnet ef database update

Running the Application

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`.

Using Swagger

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

Fronend Repository

Please refer to This Repository for the Frontend

Build With

The Swagger UI provides a web-based interface to explore and interact with the API endpoints.

Contributing

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.

  1. Fork the Project

  2. Fork the Project

     git checkout -b feature/AmazingFeature
  3. Commit your Changes

    git commit -m 'Add some AmazingFeature'
  4. Push to the Branch

     git push origin feature/AmazingFeature
  5. Open a Pull Request

License

This project is licensed under the MIT License

About

DV300 Term 3 Group project (Third Year)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages