so figured by this point i should be trying to use all newly learnt skills on each project for the final section so on my issue tracker i want to use react with node express and mongo.
i wrote a simple front end in code sandbox however i haven’t been able 2 successfully transfer it over to glitch, i figured i would be able 2 c/p the index.html app.js and index.js and it would do the job however it is just a blank page I’m guessing i need to load the index.js and index.html inside the ‘/’ route but haven’t been able to any help please:)
app.route('/')
.get(function (req, res) {
res.sendFile(process.cwd() + '/views/index.html');
}); //index.js put in here as well?