Skip to content

DavidEngelstad/mongo-review-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mongo-review-workshop

#Exercise-1
Install any dependencies you need and write a start script for your server. Build out your express server and route your requests (GET, POST, DELETE) to your controller. Controller functionality can be merely a console.log at this point. Make sure that your requests are hitting your endpoints.

#Exercise-2
Create an index.js file in your database directory. Inside of that file, use mongoose to establish a connection to your mongo database. Export your connection.

#Exercise-3
Create a models.js file inside your database directory. Inside of that file, construct your schemas and export those schemas.

#Exercise-4
Inside of your controller.js, import your database models and build out your controller functions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published