add public folder for front end and json server for backend