Skip to content

adnanmc/pharmacy-inventory

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Synopsis

This is an API for a Pharmacy Inventory using using MongoDB.

Guidelines

Following a CRUD approach (Create, Read, Update, Delete)

Directory Structure

doctolib_api
│   ├── models
│   │   ├── drug.js
│   │   ├── log.js
│   ├── routes
│   │   ├── drug.js
│   │   ├── log.js
├── .gitignore
├── index.js
├── package.json
└── README.md

Back up

  • export backup from mongodb in root directory.
mongodump --db dbName  --out export-data
  • Create a database user in mLab (Heroku Add-on)
mongorestore -h ****** -d ******* -u <user> -p <password> ./export-data/dbName/

Built With

Testing With

  • Postman -> Improves API development

Dependencies

Acknowledgments

  • This is part of a FullStack Developer Bootcamp @Le Reacteur

About

A drug inventory model for a Pharmacy built with Node, Express and MongoDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%