Skip to content

Omid-Developer/Demo-Challenge

Repository files navigation

Demo Challenge - New York Times MVC

Run locally

  1. Install Node.js dependencies:
    npm install
  2. Create a .env file based on .env.example.
  3. Start MongoDB locally and run:
    npm start

Routes

  • /listings shows all articles.
  • /listings/new opens the create form.
  • /listings/:id shows one listing.
  • /listings/:id/edit opens the update form.

Validation

  • Title is required and must be longer than 25 characters.
  • Article is required and must be longer than 100 characters.

The app seeds sample listings automatically when the collection is empty.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors