Clean up the sample app
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 62/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- csharp, sqlite
- Domain
- developer-experience
Research direction
Start in sample/Metronome.Sample1: run dotnet build there to list the warnings, then work item by item from the checklist. The namespace rename touches the project files and Program.cs, the connection-string message is in Program.cs, and the nullable Post properties live with the model while the null return is in PostsService. Also delete the committed database.sqlite, add it to .gitignore, rename the lowercase userrole migration class, and leave the // TODO: configure the default client item until NimblePros/Metronome#8 lands; done means a clean build and a database created at startup rather than committed.
Written by the indexing model from the issue text.
Description
sample/Metronome.Sample1 still carries leftovers from the template it was created from.
To do
- Rename the
MetricTesting2namespace to match the project. - Stop committing
database.sqlite: create the database on startup or with migrations, and add it to.gitignore. - Remove the unused LocalDB
DefaultConnectionconnection string, and fix the error message inProgram.cs, which namesDefaultConnectionbut readsSqliteConnection. - Fix the build warnings: the nullable
Postproperties, the null return inPostsService, and the lowercaseuserrolemigration class name. - Resolve the
// TODO: configure the default clientonce NimblePros/Metronome#8 is done. - Consider adding a minimal API sample without Identity. That's the setup that exposed the missing
IHttpContextAccessorregistration fixed in NimblePros/Metronome#14.
- Dominant language
- C#
- Stars
- 26
- Forks
- 0
- Avg merge
- 6h 17m
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NimblePros/Metronome
-
Difficulty 1/5 1-3 hours Newbie friendliness 72/100
NimblePros/Metronome#23 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NimblePros/Metronome#19 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
NimblePros/Metronome#18 ·
-
discussion
Difficulty 4/5 3-5 days Newbie friendliness 25/100
NimblePros/Metronome#21 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
NimblePros/Metronome#20 ·
All issues in NimblePros/Metronome
Similar issues
-
good first issue help wanted
Difficulty 1/5 Under an hour Newbie friendliness 88/100
erkamyaman/rust-anything#610 ·
Maintainers usually reply within 1 day
-
enhancement frontend good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
[Linux] The portal's color-scheme 0 (no preference) means light, not "not known"Possibly taken @ramlanrinos claimed this today. Openarea: linux bug ready
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ZaidX88/sluice#284 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Forrest-Technologies/drover#958 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day