GithubHelp home page GithubHelp logo

zuiverzuigen / zuydspeelt-backend Goto Github PK

View Code? Open in Web Editor NEW

This project forked from juleancode/zuydspeelt-backend

0.0 0.0 0.0 174 KB

Spel platform voor de DevOps casus

Shell 1.57% C# 98.18% Dockerfile 0.25%

zuydspeelt-backend's Introduction

Start developing on your own machine

Prerequisites

  • Visual Studio (Code)
  • .NET Core SDK
  • Docker

Setting up your .env file

In the root of the project, you'll find a file named .env.example. This file outlines the necessary environment variables needed for the application to run correctly.

To set these variables:

  1. Copy the .env.example file and rename the copied file to .env.
  2. Inside the .env file, replace the placeholder values with the actual values relevant to your local development environment.

Remember, the .env file will not and should not be committed to GitHub.

Start developing

To start developing, simply run the following command:

docker compose up -d

This will run a local instance of the database and the API. The API will be available on port 8080. You can check if the API is running by navigating to http://localhost:8080/api/users. This will return a empty array if this is the first time you are running the API.

Stopping the Database and API

docker compose stop

OR

docker compose down
# Remember that this command removes all the data from the database. If you want to keep the data, use the first command.

Considering PostgreSQL over SQL Server

PostgreSQL stands as a strong candidate for our project's database management system. Its open-source nature ensures cross-platform compatibility, promising consistent performance across various operating systems.

With a proven track record in handling large databases and complex queries, PostgreSQL could potentially provide faster API responses, thus improving our application's overall performance.

A significant advantage of PostgreSQL over SQL Server is its support for Apple's Silicon Chip. Given the increasing adoption of devices using this chip, this support could greatly enhance our project's compatibility and usability.

zuydspeelt-backend's People

Contributors

codeine avatar drtuup avatar hafdey avatar sanderlienaerts avatar kaygamerx5 avatar juleancode avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.