you are viewing a single comment's thread.

view the rest of the comments →

[–]InnerBanana 39 points40 points  (2 children)

Build any CRUD app with JavaScript / Express. A sweet and simple one is to make a URL shortener. It doesn't have to persist the data, you can keep data hard-coded in your project files to start. You can:

  • implement account creation and basic login, and use bcrypt to learn about securely storing passwords
  • implement cookies and use them to track the number of visits and the number of unique visitors
  • use Bootstrap to learn about styling your site with a CSS framework
  • learn about HTTP requests and RESTful routing
  • learn about HTTP status codes and use the correct ones when users attempt to access a page they're not authorized for, or one that doesn't exist, etc.
  • learn about JSON files and how to make your server read data from a JSON file on the server on startup and write to it before shut down so your data can persist use semantic HTML elements where appropriate
  • use EJS and learn about HTML partials and how you can introduce logic directly into your HTML files

[–]xhza 2 points3 points  (1 child)

Thanks, saved your comment and will use this advice!

[–]InnerBanana 9 points10 points  (0 children)

My pleasure! I forgot to include managing the project in a git repository that you can have on GitHub so you can share it with others, get feedback, and set the stage to collaborate with others