Coder Social home page Coder Social logo

intro-node's Introduction

CLI note-taking app with a simple website from the Introduction to Node.js, v3 course on Frontend Masters.

You can see the course notes/slides on Notion and the code on GitHub.

I learned how to perform CRUD apps on a file by using internal Node modules like fs. Interacting and installing things from npm, such as yargs, jest, and open. Learned a bit about testing. Learned to build a web server to send back server-side HTML interpolated with data from a database/file using http module.

I've added to the original app in the following ways:

  • added a tag command (for the CLI) to filter notes by tag
  • used Tailwind CSS to add styling and edited the HTML template
  • added a script tag and wrote some frontend/client-side JavaScript to filter the display of notes by tags

When building stuff from scratch, it definitely helps you understand why frameworks exist.

Next steps: learning more about fullstack to somehow connect or have access to the database and server logic on the frontend, both to improve the current code and structure as well as adding the CLI commands to the web app.

Add your own db.json file in the root directory as your personal database:

{
  "notes": []
}

intro-node's People

Contributors

noahhts avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.