ElvinGarciaDev / Personal-Express

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🐉 Project: Keep track of House of the Dragon characters

Screen Shot 2022-10-31 at 8 02 49 PM

Screen Shot 2022-10-31 at 8 03 19 PM

How It's Made:

Tech used: HTML, CSS, JavaScript, Node.js, Express, MongoDB, EJS

Users are able to keep track of HOD characters by submitting the form. When the form is submitted a POST request is sent with all the information from the form. The character details are stored in MongoDB and then rendered using EJS. Users are able to remove characters by selecting the trash can icon. Users can also update any specific field on any character by going to the form, adding the character name and any field they want to update.

Lessons Learned:

The most difficult part of this project was allowing the user to update a character. I was able to accomplish this by having the user enter the character's name and on the backend removing any empty strings that came with the request.body.

Installation

  1. Clone repo
  2. run npm install

Usage

  1. run npm run dev
  2. Navigate to localhost:8000

About


Languages

Language:JavaScript 45.8%Language:CSS 28.7%Language:EJS 16.3%Language:HTML 9.2%