Skip to content

tiny-factories/tiny-garden-server

Repository files navigation

tiny-garden-server

KEYS

USERNAME=examplemongodbadmin
PASSWORD=3xampl3m0ng0passw0rd
HOST=somecluster.mongodb.net
DATABASE=exampledb

CRUD Application Example

Uses Express.js and Mongoose to connect to a Mongo Atlas database.

This is a Glitch adaptation of the building a restful api with express and mongodb tutorial on Dev.to.

API tests with Postman

GET /api/book

POST /api/book

{
  "title":"War and Peace",
  "author":"Warren Peice?"
}

POST /api/book

{
  "title":"One Day in the Life of Ivan Denisovich",
  "author":"Aleksandr Solzhenitsyn"
}

GET /api/book

JOBS

Resources

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published