Giter Club home page Giter Club logo

new_feed_2's Introduction

Making Headlines

Review Express

Background

Weclome to the daily planet, we need your superhuman developer skills to help us share news with the world. We've seen that you have some express knowledge and need you to make us a mock website as soon as possible.

You'll need to use a database of articles to complete this assignment.

Routes

You'll need the following article routes:

  • get /articles to display a summary each article.
  • get /articles/new to get a form to save a new article
  • post /articles to save an article
  • get /articles/:id to find an article by id in the array of articles and display it.
  • delete /articles/:id to delete a particular article

You'll need the following site related routes:

  • get / serve the homepage of your site.
  • get /about serve a static about daily planet page.
  • get /contact serve a static contact page.

Structure

All your article related views should be in an views/articles folder. Each article should utilize ejs to render the page. Your site related views index, about, and contact should also have a folder views/site.

Styling

Your application must be styled, so be sure to include the following:

app.use(express.static(__dirname + '/public'))

and a public/ folder with your stylesheets.

Bonus

Include some navigation links to help the user navigate the site.

new_feed_2's People

Watchers

Emannuel Nevarez 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.