Skip to content

mackolak/shipyard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shipyard

This application is used to add new ships and getting list of all ships from/to shipyard

To run the application:

  • first the npm modules need to installed with command npm ci
  • Mongo database needs to be setup and details for connecting to it provided in Environment variables
  • run command npm start

Documentation

Not finished yet, documentation is empty right now. Swagger documentation for shipyard routes is available when the application is running on http://localhost:4200/doc

Test

To run tests for the application npm ci command needs to be run and then tests can be started by running npm test command. Test coverage is set for 90% for Statements

Environment variables

The application needs following env variables to run successfully:

  • MONGO_URI
  • MONGO_DB
  • MONGO_COLLECTION

.env file example

MONGO_URI=mongodb://localhost:27017,localhost:27017/
MONGO_DB=shipyard
MONGO_COLLECTION=ships

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors