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 sample
If you have previously loaded in this data, you can wipe your database 100% clean with:
npm run blowitallaway
That will populate 16 stores with 3 authors and 41 reviews. The logins for the authors are as follows:
Name | Email (login) | Password |
---|---|---|
Wes Bos | wes@example.com | wes |
Debbie Downer | debbie@example.com | debbie |
Beau | beau@example.com | beau |