Skip to content

d-maza/PC2-NODE-EXPRESS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



d- maza


PC2-NODE-EXPRESS 🐙

My etiqueta Node Version GitHub repo size GitHub repo licence Codigoutil

Description

  • Set up a served with express.
  • Make the routes and pass the parameters.
  • Perform rendering with an Ejs template engine

Let's create an application using Express JS. In it, we will have an array of 5 names and two routes.

  1. One will be of type "/person" and the other will be "/person/:p arameter".

  2. When we enter the first path, it will return the array; while when we enter through the second, the requested person will return us.

Recommended items:

  1. Make the example more complex.

  2. Create a formal look.

Habilidades y conocimientos 🧰

  • JavaScript
  • NodeJS
  • ExpressJS
  • EJS
  • Git
  • GitHub
  • Como hacer un README

### Rules of use 🤜🏼🤛🏼

  • Run the clone repository in your terminal:

git clone https://github.com/d-maza/PC2-NODE-EXPRESS.git

  • Access the folder with the command:

cd PC2-NODE-EXPRESS

  • Remember that it is necessary to have NodeJS installed, download the dependencies with the command.

npm i

The exercise is run in the app.js file of the folder:src

  1. cd src
  2. node app

Reference guides:

Pull requests and issues are welcome

If you find anything that can be improved, please submit a pull request.

Authors

About

Practica con Node y express

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published