Along with general JavaScript best practices, here are some of the things learned in this project:
User Accounts REST API endpoints Database Schemas Document Relationships Templating and Mixins Restricting Operations Middleware Image Resizing Password Reset Flow Storing Geospatial Data Routing Flow Control Error Handling Advanced DB Queries File Uploading Sending Email MVC Pattern Geocoding Addresses Pagination Server Deployment
Just you wait folks!
To load sample data, run the following command in your terminal:
npm run sampleIf you have previously loaded in this data, you can wipe your database 100% clean with:
npm run blowitallawayThat will populate 16 stores with 3 authors and 41 reviews. The logins for the authors are as follows:
| Name | Email (login) | Password |
|---|---|---|
| Wes Bos | [email protected] | wes |
| Debbie Downer | [email protected] | debbie |
| Beau | [email protected] | beau |
