Skip to content

loicpostec/comem-webdev-express-rest-demo

 
 

Repository files navigation

COMEM+ Web Development Express REST Demo

A demonstration RESTful API implemented with Express.

Requirements

Usage

git clone git@github.com:MediaComem/comem-webdev-express-rest-demo.git
cd comem-webdev-express-rest-demo
npm ci
DEBUG=demo:* npm start

Visit http://localhost:3000.

To automatically reload the code and re-generate the API documentation on changes, use npm run dev instead of npm start.

Configuration

The app will attempt to connect to the MongoDB database at mongodb://localhost/comem-webdev-express-rest-demo by default.

Use the $DATABASE_URL or the $MONGODB_URI environment variables to specify a different connection URL.

Resources

This API allows you to work with Movies and People:

  • A Movie MUST have one director (who is a Person)

Read the full documentation to know more.

About

Demonstration REST API implemented with Express

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.4%
  • HTML 0.6%