Day 2 - Develop a web server
This is your second day, and you'll need to create a web server, we will use github, express, mongodb, and mocha.
#
Develop a web server#
Getting startedYou need to do this to cover the second day:
- Create a repository in Github
- Create models in mongodb
- Configure the server
- Create Endpoints (CRUD)
- Make unitary prubes with Mocha
- Deploy your changes to github
#
DocumentationTo start your second day in WFD, here you have some documentation of what you need to do.
- How to create a repo in Github ->
https://docs.github.com/es/get-started/quickstart/create-a-repo
- Installation of express
- Hello World of express ->
https://expressjs.com/es/starter/hello-world.html
- MongoDB Docs
- Configure your server with MongoDB ->
https://ayuda-cloud-servers.donweb.com/preguntas-frecuentes/como-configurar-mi-servidor-con-mongodb-en-forma-segura
- Mongose elegant mongodb object modeling for node.js
- How to create an API Rest using Node.js, Express and MongoDB ->
https://carlosazaustre.es/como-crear-una-api-rest-usando-node-js
- Mocha Installation
- Unit prubes with Mocha ->
https://www.javiergarzas.com/2016/03/tdd-nodejs-mocha-parte-1-entendiendo-conceptos.html
- Testing with Mocha ->
https://www.paradigmadigital.com/dev/testeando-javascript-mocha-chai/
#
Video Tutorials about the topics that we seen before in the documentation.- Nodejs | Tu primer servidor en Express.js.
- Crear un servidor web | NodeJS Express.
- CRUD completo con Node + Express + MongoDB [1/7]. (This is a playlist).
- Nodejs & Mongodb CRUD | Mongoose Modelos de la base de datos Mongodb.
- CRUD REST API using Node | Express | MongoDB