13 Jun CREATE AN ARRAY OF JSON OBJECTS
In this homework, use the midterm project and convert it into a nodejs/expressjs application by using the following configuration:
Recipes: create an array of JSON objects, if you did not have one for your midterm project a. Eventually this will be stored into a mongodb database
EJS: Use EJS view engine to create the following pages:
Home page:
General information about your website and technologies you have used b. Recipe page:
To display all recipes
Make sure the list is searchable by adding a search box c. Single Recipe to display details view of a single recipe
Add place holder for users to post comments
Min. is having a text box and a submit button
A rating/like counter
View counter
Remember each recipe has an array of images (displayed as image gallery) and an array of videos with at least one video
A Signup page:
Users can sign up to your website. Add a form to collect necessary info for account creation such as names, username, password, emails etc.
You can use the sample code provided in the class for user authentication e. A Log in page:
To start the authentication process. This page would take the username,
password and a submit button
You can use the sample code provided in the class for user authentication f. Admin page:
A table of existing recipes which the site admin would be able to edit and
modify/update information such as adding new images, or video as well as instructions
A section for adding new recipes to the site. Add a form to collect all information required to complete a recipe such as list of ingredients, cooking/baking instructions, timing, images, videos etc.
Routing: Use routing for delivering services and content. a. i.e. create the following routes:
/recipes //listing all recipes
/recipes/:id detail view of a recipe ii. /users/recipes/services/:id
Where the services can be: like, comment.
iii. /admin/recipes
/admin/recipes/:id
Public folder for static contents
Remember that for some route you need GET method and/or POST depending on the need for retrieving information or updating contents
Submission:
– Setup a new environment using the final project stack.
– Provide comments for every function and views that you create. Learning and using swagger code documentation is a bonus.
– Once you are done, download a compressed copy of your envir
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.
About Writedemy
We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.
How It Works
To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Are there Discounts?
All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.