You asked
Is the nikon af s 24mm f 1 8g ed good on aps c?
Yes, the Nikon AF-S 24mm f/1.8G ED works well on APS-C. On a Nikon APS-C body it frames like a 36mm lens on full frame, which is a natural standard view. That suits street scenes, groups, and environmental portraits that show where someone is. The lens page also notes that f/1.8 gives about the depth of field of f/2.7 on APS-C, so you get less background blur than the same lens would give on full frame.
The lens is not stabilised, so in dim light the wide f/1.8 aperture does the work, not the camera. Autofocus is included, and it fits a long run of Nikon F-mount APS-C bodies. The guide's pick among them is the Nikon D7500, the most capable of the group. For a lighter, cheaper start, the Nikon D5600 and Nikon D3500 pair well with this lens. I can't say what any of these cost here: the guide's price figures sit on each camera's own page, and prices change.
If your main subject is people, the guide suggests a fast portrait prime instead. On APS-C a 50mm lens behaves like a classic 75-80mm portrait lens, which is covered in the portraits guide. For a fast standard prime more generally, see your first lenses.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.