Skip to content

a simple starter to create a nodejs api with express

License

Notifications You must be signed in to change notification settings

pa-bru/nodejs-api-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodejs-api-starter

a simple starter to create a nodejs api with express

Getting Started

Install the app

$ npm install

Run in Development

$ npm run dev

Run in Production

First build the app

$ npm run build

Then serve the app

$ npm run serve

Running Tests

To run all tests

$ npm run test

To run tests on files's changes

$ npm run test -- --watch

To run test of a specific file, install jest globally (npm install -g jest) and do a jest your-file.js or do this command

$ npm run test -- --findRelatedTests my-file.js

Before publishing

$ npm run validate

... is a shortcut which runs eslint, tests and verify that packages aren't outdated.

About

a simple starter to create a nodejs api with express

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published