Skip to content

therealdj97/Express.js-REST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

techstack

CRUD using MERN
mongodb used sample data from mongodb  
express
react
nodejs
mongoose odm 


Realtionsal  vs mongodb
database -- database
Table -- collection
Row -- Document
Index -- $lookup
Foreign key -- Referance



created free account on mongo db used sample dataset from mongodb
npm install y 
npm install express cors mongodb dotenv
express = webserver 
cors = allows ajax requests to skip same origin policy & accesss requests from remote hosts 
    provides express middleware which can enable cors with different options
mongodb   = allows to connect to mongodb 
.end = process.env files
nodemon = for obvoious reasons 

in package.json 
  "type" : "module",
  
  // allows to use import statement from es6 //


api/dao data accesss object to connect to db

About

REST API made using expressjs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published