Getting Started
You will get an automatic invite to the github repository.
You can either just clone the repository or work with the project template
.
There are several ToDo You
’s in the code to get you started.
There is also a ReadMe
with some useful commands and Snippets.
Project Template
Currently there is a 2nd branch in the github repository called feature/template.
This contains a dotnet project template and the option to turn off certain features.
It also renames the entire project including namespaces.
To use this
- Clone the feature/template branch
- On the command line within the project (e.g. C:\Projects\Mirco\breakneck-template) run
dotnet new install .
This will install the project template locally on your machine. - Anywhere on your machine you can now run
dotnet new breakneck -o "CoolApp"
to create a new project. - To see the available options you can run
dotnet new breakneck --help
which will currently give you this output
- Optionally opt out of certain features like so
dotnet new breakneck -o "CoolApp" -S false
Setting up your Project
- Create your
appsettings.json
andappsettings.Development.json
based onappsettings.Example.json
Optionally remove those files from the.gitignore
file. - In the terminal cd into
Breakneck.Api
and create your Migration via
dotnet ef migrations add Init
- Run the project, it should now work.
- Check the solution for “ToDo You”.
This is currently in a different branch, because I’m not sure how this is gonna work out.
I don’t want to add all the #if StripeIncluded ... #endif
parts into the actual master branch yet.
In case people prefer to just clone the repo instead of using the template.