I am a 2 year experienced web developer, I mainly worked on backend stuff (API,java logic , etc etc), and I work as a consultant.
Since 2 months I was sent to a company to work on their front-end using some framework that I'm not a complete newbie at, but basically not an expert.
Project is large, but I estimate my code is at 'junior' level.
Here comes the problem, as long as I am the only front-end dev in this group, all critical decision on this project are deferred to me (choosing a pattern of code, instantiate new libraries or importing some code from external resource or so on).
As I said before, code is not difficult, but I feel that these kind of decision are too important to be deferred to a junior of this framework, due to the software is very big and handle sensitive data of a big company.
Note that I already talked to my boss, and he basically told me "just work as you want and as you wish, but the project must be ready at date XXX"
My fear is that I can product code that works NOW, but TOMORROW will have bugs or so on due to my lack of experience, and as a consultant, I'll leave a bad reputation beside me.
How do I handle this situation? What should I do?