Skip to content
/ express-template Public template

Template for Node.js and Express, with testing by Jasmine and JSDOM

License

Notifications You must be signed in to change notification settings

sheeley820/express-template

Repository files navigation

Node.js / Express.js Template

This is a template for Node.js and Express, utilizing MongoDB, with testing by Jest and JSDOM.

Setup

The application is started with npm start.

Running the application requires a .env file with the following values defined:

    TARGET_COLLECTION
    PORT //Will default to 3000 if not defined
    MONGO_URL
    DB_NAME

Testing

Tests are run with npm test.

This project demonstrates how tests can be written for the API component, the HTML, the CSS and client side JavaScript.

About

Template for Node.js and Express, with testing by Jasmine and JSDOM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages