Coder Social home page Coder Social logo

express-review-notes-app-public's Introduction

Express Review

  • npm i
  • nodemon server -e js

This application is partially built. The front end is completely built but the express backend is only partially built.

Note - you shouldn't have to modify anything in the index.html file.

Examine the back end routes that the front end is looking for.

Since this a CRUD app you will be looking for GET, POST, PUT, and DELETE requests.

The front end is also making axios posts and puts. You'll have to give your app the ability to parse JSON data

This front end is also looking for a styles.css in the assets folder. In order for your front end to access this file, you'll need a route for that as well. (Hint - express static route)

Consider having your backend api calls in their own file by using an express router.

Don't try and do everything at once.

Consider using the uuid module to generate unique ids

Step One

  • Add a static express route so the assets/styles.css

Step Two

  • Add some JSON data to notes.json

Step Three

  • Set up your GET route for for notes

Step Four

  • Set up your POST route for notes (make sure to include a body parser)

Step Five

  • Set up a DELETE route

Step Six

  • Set up a PUT route

express-review-notes-app-public's People

Contributors

cmd08010 avatar ericpkatz avatar

Watchers

 avatar  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.