-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make a home page to be redirected to after login #9
Comments
I'd like to give this a go..... :) |
@emma-r-slight thank you, please make it dynamic and any meta data you want to add to course model or user model please let me know, I'll assign you |
Do you have any preference for a template(view) engine? express-handlebars, pug, dots.....? What information do you want to be listed from the course routes? Do you want just a list with name and tags, do you want to include an external link to the course? |
I was thinking about |
Ok, I have used express handlebars before, which is quite a good stepping stone to react. It separates parts of the page into components similar to React. For the courses I was looking at the Udemy page, it looks like there's an image( at this point I don't think it needs to be saved in the db, just use a random image from unsplash.com), Title, name of creater and then topic(tags). Do you have a problem if I add some tests using Jest? |
No, I know jest and was planning to have tests but i don't know how until now and will we apply unit or integration testing, what do you think ? |
At this point unit testing, I haven't used Nosql databases before (only SQL Databases) so wanted to write tests for the 'courses' db and api route. |
make a static home page to view courses
use
/api/courses
endpoint to fetch courses from database and view them dynamically on home pageThe text was updated successfully, but these errors were encountered: