If you plan to just ride to work or school in the city (and not offroad), then I recommend getting a roadbike. Yes, most people would just go out and buy a mountainbike, but that is simply because they don’t know any better. I’m sure 90% of the mountainbikes you see on the road have never even touched a real dirt trail.
Roadbikes are fast, light, and designed to be used on asphalt. A mountainbike is significantly heavier; as it has bigger tires, a stronger frame, and suspension…. which serve no purpose on the road.
If you find the dropbar handlebars of roadbikes (that curled Lance Armstrong handlebar) to be difficult to use, then get a roadbike with a more familiar flatbar handlebar. Which, as the name suggests, is flat.
As you are a beginner, I suggest buying a fullbike (sepeda jadi) from either Rodalink (Polygon brand) or from Build A Bike (United brand). Both are locally-made frames, but the quality is on par with international brands. The prices are listed, so you won’t get ripped off.
Here’s a few I can recommend:
Make sure you get the right size bike, according to your height. Here is a size calculator: https://www.ebicycles.com/bicycle-tools/frame-sizer/road-bike , and don’t let the salesperson talk you into buying a bike that is not your size.
Look to spend around 4 to 6 million for a good first bike. “Kan ada sepeda 2 jutaan..” True, but then you’ll be upgrading components within a year anyways. And cheap bikes (or components) have no resale value. If you spend 5 million on a bike, you can always sell it if you ever bored of it. Bikes go all the way up to 150 million, easy.. so yeah, don’t get talked into that either. You’re biking to work, not the Tour d’ France. Don’t forget to budget for a helmet, bike lock, lights (front and back), gloves, bike multitool, pump, and rain jacket. I suggest www.bukalapak.com for accessories.
Riding to work is one of the most rewarding things I’ve ever done. I don’t have to allocate 2.5 hours of time, just to run 1 hour in the gym like a hamster in a wheel, twice a week. I don’t have to spend money on gym fees. I don’t spend time frustrated and brain dead sitting in the car, while I could be doing something invigorating for the body and soul, and yes.. very very fun. Every morning, at least 300 kilometers a month. Good luck, and keep me updated how it goes.