Well... Barcelona is quite expensive. If you wanna live alone in a flat, in a normal area, expect to have more or less 1000€ each month to pay the rent, internet, etc...
If wanna share a flat, maybe about 600€.
It depends of you experience you can get one salary or other. Between (yearly gross) 30k - 45k. Maybe with 2 years of work experience expect between 30-36K. This should be between 1950-2250 net salary monthly.
I mean, you can get 2000€ net salary each month. If it's enough? I guess yes, not bad. But again, Barcelona isn't a cheap city but it depends of your type of life