NodeJS_Express_CRUD_with_MongoDB

时间:2021-03-04 16:49:52
【文件属性】:
文件名称:NodeJS_Express_CRUD_with_MongoDB
文件大小:46KB
文件格式:ZIP
更新时间:2021-03-04 16:49:52
TypeScript NodeJS_Express_CRUD_with_MongoDB 节点版本v12.18.3 从开发开始 npm i cp .env.example .env np run dev 要在Docker中全部启动 #Create the image for our node backend sudo docker build -t node-app_rithmi . #Run the docker-compose.yml that creates the containers for our database in mongo and the backend sudo docker-compose up -d #Now type http://localhost:49160/ in the browser 测试通话 GET curl http://localhost:49160/api
【文件预览】:
NodeJS_Express_CRUD_with_MongoDB-main
----.env.example(25B)
----src()
--------common()
--------muestras()
--------index.ts(986B)
--------middleware()
----Dockerfile(637B)
----mongodb()
--------mongo-seed()
----tsconfig.json(6KB)
----README.md(1KB)
----docker-compose.yml(370B)
----docker-compose-dev.yml(370B)
----.gitignore(37B)
----package-lock.json(96KB)
----package.json(805B)
----docker-compose.env(25B)

网友评论