Express JS Exercises
Express.js Development - MongoDB and Mongoose - октомври 2016
Create a web site (with normal design not something fancy) using ExpressJS – CRUD operations over two models (for example Cats and Owners (but be more creative, please)) by your choice:
- At least 6 pages
- Use MongoDB
- Use Express
- Use Pug (Jade)
- Use Stylus
- Use File Upload
- https://expressjs.com/en/starter/generator.html
- Start MongoDB with command:
sudo mongod
- Start Express.js with command:
DEBUG=myapp:* npm start
- Jade (Pug) converter: http://html2jade.org/
- http://mongoosejs.com/docs/populate.html
- http://mongoosejs.com/docs/2.7.x/docs/populate.html
- http://stackoverflow.com/questions/31778847/mongodb-and-mongoose-one-to-many-relationships
- http://stylus-lang.com/
- Convert your CSS into Stylus CSS-preprocessor: http://css2stylus.com/