Skip to content

yassin/stock

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Stock

1. Description

this project is a (SpringBoot + mongoDB) Rest API

2. Installation

install MongoDB

install comunity server V4.0.0 https://www.mongodb.com/download-center#community

start mongoDB

shell 1 : .//bin/mongod --dbpath mongoDB is started

shell 2 : .//bin/mongo use stock db.createUser( { user: "stock-pharmacy-dev", pwd: "stockpharmacy1dev", roles: [ { role: "clusterAdmin", db: "admin" },{ role: "readAnyDatabase", db: "admin" },"readWrite"] }, { w: "majority" , wtimeout: 5000 } )

Run API

spring-boot:run -Dspring.profiles.active=dev

3.Check API swagger

http://localhost:8080/swagger-ui.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%